Skip to main content
redi_tom2014
Participant
July 22, 2024
Answered

Bolding Part Numbers using GREP

  • July 22, 2024
  • 1 reply
  • 248 views

Hello everyone, I need to bold part numbers within a product listing. The supplied file has a tab at the start and then the part number and then an additional tab. The file also has additional columns/tabs so I need the GREP to only look at the first and second tab and bold everything between those. Their part numbers are not consistent in character count and can include letters, numbers, spaces and dashes. I am trying to get into this world of GREP but I need help. Thank you.

This topic has been closed for replies.
Correct answer Willi Adelberger

Fotthis purpose I would rather use the Nested Style fuction, So you can set up to or up to a specific number of tabs a character style.

Nested styles are easir but don't slow down the program as GREP styles do.

1 reply

Willi Adelberger
Community Expert
Willi AdelbergerCommunity ExpertCorrect answer
Community Expert
July 22, 2024

Fotthis purpose I would rather use the Nested Style fuction, So you can set up to or up to a specific number of tabs a character style.

Nested styles are easir but don't slow down the program as GREP styles do.

redi_tom2014
Participant
July 22, 2024

Beautiful! Thank you. I figured it out in GREP with  ^.+?\t  but discovered the clients file isn't the cleanest and includes periods and other hidden characters before the tab so this makes it much better. Thank you so much.