Page 1 of 1

search, find duplicate and number

Posted: Tue Jun 16, 2015 6:24 pm
by amster
This is the last one from me.

but imagine a document has three instances of:

Wednesday,17 June 2015
Wednesday,17 June 2015
Wednesday,17 June 2015

Is there any way to search it, and then number those 1., 2., 3.,

So we end up with:

1. Wednesday,17 June 2015
2. Wednesday,17 June 2015
3. Wednesday,17 June 2015

With thanks.

Re: search, find duplicate and number

Posted: Mon Jun 22, 2015 10:03 am
by DigitalVolcano
There isn't currently a good way to add incrementing numbers with TextCrawler

There are some horribly complicated regular expression hacks here but I haven't tried them with the program!
http://stackoverflow.com/questions/1294 ... bstitution