Reply To: GREP command that finds the character after or before a word or character(s)

Home Page / Forums / General InDesign Topics (CLOSED) / GREP command that finds the character after or before a word or character(s) / Reply To: GREP command that finds the character after or before a word or character(s)

#113761
Aaron Troia
Participant

Hey Chris,

Based on your punctuation example, this should work for that: (?:\.|,|;)\K\w

With the \K there is no capture group, so your replace field I believe you would use $0 which just replaces whatever is found with itself.

Aaron

This article was last modified on January 19, 2019

Comments (0)

Loading comments...