Skip to main content
Inspiring
July 5, 2018
Answered

GREP Style Bold Specific Words with ( )

  • July 5, 2018
  • 3 replies
  • 2821 views

Hi Guys,

I can't make a grep style bold with this text (highlighted in red). I think is it because of the ()

Can you help me please...

Many thanks!

This topic has been closed for replies.
Correct answer Jongware

Cool

I didn't know that one


After a \Q *all* GREP codes are disabled, except for the \E one enabling them again. It's not listed in the Online Help at Find/Change text in InDesign but, yes, indeed implemented in the standard GREP package that InDesign uses.

You won't be needing this very much because usually it's easier to escape the few necessary characters "immediately" (that is, if you know what characters to escape), and for a plain text such as this I'd simply use regular Find Text instead of GREP. But the GREP Styles always need GREP, so yeah, @Michel, well spotted.

3 replies

pixxxelschubser
Community Expert
Community Expert
July 6, 2018

sarahkay  schrieb

… I can't make a grep style bold with this text (highlighted in red) …

^.+?:

sarahkayAuthor
Inspiring
July 5, 2018

Thank you so much guys!!!!!!

vinny38
Legend
July 5, 2018

You need to escape brackets.

To escape a character, just add a backward slash before. Like this:

Fees and Discounts \(Included Above\):

FRIdNGE
July 5, 2018

Not necessarily! 

\QFees and Discounts (Included Above):\E

Best,

Michel, for FRIdNGE

vinny38
Legend
July 5, 2018

Cool

I didn't know that one