Reply To: Help with Grep

#70761
Aaron Troia
Participant

You are going to need to run two Regex’s for what you are asking, as Character Styles over ride each other and there is no Grep for excluding Smallcaps. you might need to temporarily add something unique to one or both sides of the small caps so that you can identify the strings of Smallcaps in your Grep searches, and then strip them out when you’re done.

Here is a Regex to change everything in parens to italic:
Find What: (?<=\()(.+?)(?=\))
Change to: $1
Find Format: [Leave Blank]
Change Format: Your italics character style

This article was last modified on September 25, 2014

Comments (0)

Loading comments...