Reply To: Grep duplicate-select first instance

Home Page / Forums / InDesign User Groups / Grep duplicate-select first instance / Reply To: Grep duplicate-select first instance

#98106
Graham Park
Member

You could shorten the months to make it query easier to read.

FIND
(Ja.+|Fe.+|Mar.+|Ap.+|May|June|July|Au.+|Se.+|Oc.+|No.+|De.+)\r(.*?)\r
Replace
$1$2\r

Then

FIND
((Ja.+|Fe.+|Mar.+|Ap.+|May|June|July|Au.+|Se.+|Oc.+|No.+|De.+).+$)\r((Ja.+|Fe.+|Mar.+|Ap.+|May|June|July|Au.+|Se.+|Oc.+|No.+|De.+).+$)
REPLACE
$1

This article was last modified on September 14, 2017

Comments (0)

Loading comments...