Skip to main content
This topic has been closed for replies.
Correct answer Barb Binder

You can do with the a GREP style but these strings can be tough to troubleshoot: could you show your GREP as is appears in the style options dialog box? (Not copy/paste the string here?)

 

~Barb


Hi @Parny:

 

Nevermind! I see the issue. The OP was targeting text within brackets. You are targeting text within parentheses.

 

This would do it: \(\K[^\]]+?(?=\))

 

 

But: you want to include the parentheses., so

\(.+?\)

 

 

Since this is an entirely different question, I'm going to move it to its own thread.

 

~Barb

11 replies

Barb Binder
Community Expert
Community Expert
July 31, 2024

Can you share a screenshot that includes the GREP style and the result?

 

~Barb

~Barb at Rocky Mountain Training
ParnyAuthor
Inspiring
July 31, 2024

Hi Barb. No result yet. Kept saying no instance exists to find. Please see screenshots. I want to change the pink bold text in parentheses to the light black text, with the GREP string applying that set character style.