Reply To: GREP locate second comma in a paragraph

Home Page / Forums / General InDesign Topics (CLOSED) / GREP locate second comma in a paragraph / Reply To: GREP locate second comma in a paragraph

#101262
Graham Park
Member

(?s) Single Line ON
^ Start of paragraph
.*? FInd any character Zero ore more times Shortest match
, Followed by a comma
.*? FInd any character Zero ore more times Shortest match
\K Positive Look-behind
, This is what the positive look behind is matching if the above conditions are met.

\K allows for the use of the wildcards that the normal positive look behind does not.

Very nice Obi-wan

This article was last modified on January 26, 2018

Comments (0)

Loading comments...