Reply To: Need help with GREP codes to find/delete text between different text fields

Home Page / Forums / General InDesign Topics (CLOSED) / Need help with GREP codes to find/delete text between different text fields / Reply To: Need help with GREP codes to find/delete text between different text fields

#99992
Aaron Troia
Participant

oh ok, no problem, we can work that in, try something like:

Find: FROM (?s:.+?)For \w+, \w+\.? \d+, \d+$

thats a little greedy on the words and numbers but this might be more specific with a few less greedy modifications:

Find FROM (?s:.+?)For \w+day, \w{3,4}\.? \d{1,2}, \d{4}$

\w+day will find the days of the week
\w{3,4}\.? will find your abbreviated months, and just to be sure with months like June, I made it go to four letters and the decimal is optional
\d{1,2} is your days of the month
\d{4} is your year

This article was last modified on November 30, 2017

Comments (0)

Loading comments...