Hello, I would like to know if textcrawler is able to find duplicate lines in a text file and delete both lines?
ie:
12345
12345
67890
would become
67890
TIA
Find duplicate lines and delete both lines
-
- Posts: 1
- Joined: Mon Mar 19, 2018 3:10 am
- DigitalVolcano
- Site Admin
- Posts: 1863
- Joined: Thu Jun 09, 2011 10:04 am
Re: Find duplicate lines and delete both lines
You can use this providing the duplicate lines are next to each other:
Replacing with nothing will delete both lines.
Code: Select all
^(.*)(\r?\n\1)+$