Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

130.Advanced search and replace -- How to delete duplicate lines of a text file?

User: editor -- 2008-05-18          << 129  131 >>
Hits: 6828
Type: Advanced search and replace   
Search all Advanced search and replace examples
How to delete duplicate lines of a text file?
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. press ctrl-o open source file 
2. press ctrl-h open 'Replace' dialog 
in 'Replace' page, 
* set 'Replace unit' to 'Line' 
* set 'Search for pattern': 
* set 'Replace with pattern': 
in 'Advanced' page, 
* set 'Run following at the beginning of text': 
* set 'Run following for each matched unit': 
3. click 'Replace', done. 
Note: above operation will not break the order of original lines
Download Script:  scripts/

Screenshot 1:  Replace_Window

Screenshot 2:  Replace_Advanced_Window

Similar Examples:
How to sort and delete duplicate lines of a text file? (93%)
How to remove duplicate lines from a text file? (89%)
How to remove/delete consecutive duplicate lines in a text file? (80%)
How to delete duplicate numbers in every line in text file? (80%)
How to remove partially duplicated lines in a text file? (78%)
How to duplicate each line 5 times in a text file? (76%)
How to replace all duplicate lines with some text? (74%)
How to remove/delete all blank lines in a text file? (74%)

Check Demo of Advanced search and replace
delete duplicate lines of a text file  how to delete duplicate lines of a text file  delete duplicate lines  how to delete duplicate lines  delete duplicate line  delete duplicate  how to delete duplicate  break  duplicate lines  duplicate line  page break  search replace to delete duplicate lines  delete text at beginning  delete duplicate text  order lines text file  replace duplicate lines with  search for lines beginning  replace original