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

#98157

Hi,

Basing on this list aand just don’t forget to have a carriage-return at the end of the List:

Find:
((January|February|March|April|May|June|July|August|September|October|November|December)\r)((\d+(,?)?)+\r)\1((?3))

Replace1:
$1$3
to get the first date, not the second

Replace2:
$1$6
to get the second date, not the first

(^/)

Note “,?” takes in account typing errors in days (no space after some commas)!

This article was last modified on September 18, 2017

Comments (0)

Loading comments...