Skip to main content
JonathanArias
Legend
Jan 18, 2024 3:48 PM UTC
Answered

GREP query

Hello Community,

 

I need help with a GREP. I need a GREP that would allow me to apply a character style to any words inside brackets, ex: "[this text needs to be bold and underlined]"

 

thank you

This topic is closed to new replies. Start a new post to keep the conversation going.
pixxxelschubser
pixxxelschubserCorrect answer
Community Expert
Jan 18, 2024 11:56 PM UTC

The same but different.

Find Format:

\[\K[^\]]+?(?=\])

Change Format:

YourCharacterStyle

2 replies

pixxxelschubser
Community Expert
pixxxelschubserCommunity ExpertCorrect answer
Community Expert
Jan 18, 2024 11:56 PM UTC

The same but different.

Find Format:

\[\K[^\]]+?(?=\])

Change Format:

YourCharacterStyle

Translate
Mike Witherell
Community Expert
Community Expert
Jan 18, 2024 3:57 PM UTC

Find Format: 

\[\K[^\]]+?(?=\])

Change Format:

YourCharacterStyle

Translate
Mike Witherell