Reply To: Script to change char style of punctuation after italic/bold/etc.

#74129
Aaron Troia
Participant

Hey David! Thank you for your response, I normally would use something similar to what you had (I’m being explicit and using a comma as an example) (\w)(?=\,), and I agree, it seems like there should be an easy solution. The problem I’m running into is if I add a character style or font style to the GREP search, to narrow it down the search a bit, it fails since I’m looking for both a word with a character style applied to it (in this case, italic) followed by a comma that has no character style applied to it, and it still fails even when using a positive lookahead :(

This article was last modified on March 23, 2015

Comments (0)

Loading comments...