Copy link to clipboard
Copied
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!
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
...Copy link to clipboard
Copied
You need to escape brackets.
To escape a character, just add a backward slash before. Like this:
Fees and Discounts \(Included Above\):
Copy link to clipboard
Copied
Not necessarily!
\QFees and Discounts (Included Above):\E
Best,
Michel, for FRIdNGE
Copy link to clipboard
Copied
Cool
I didn't know that one
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Useful especially when you try to catch code!
Find: \Q\d{3}-\u{2}\E
Best,
Michel
Copy link to clipboard
Copied
Thank you so much guys!!!!!!
Copy link to clipboard
Copied
sarahkay schrieb
… I can't make a grep style bold with this text (highlighted in red) …
^.+?: