Skip to main content
JonathanArias
Legend
January 18, 2024
Answered

GREP query

  • January 18, 2024
  • 2 replies
  • 490 views

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 has been closed for replies.
Correct answer pixxxelschubser

The same but different.

Find Format:

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

Change Format:

YourCharacterStyle

2 replies

pixxxelschubser
Community Expert
pixxxelschubserCommunity ExpertCorrect answer
Community Expert
January 18, 2024

The same but different.

Find Format:

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

Change Format:

YourCharacterStyle

Mike Witherell
Community Expert
Community Expert
January 18, 2024

Find Format: 

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

Change Format:

YourCharacterStyle

Mike Witherell