Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

586.Advanced search and replace -- How to delete/remove all lines that appearred more than once?

User: editor -- 2010-08-11          << 585  587 >>
Hits: 319
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to delete/remove all lines that appeared more than once?
Input Sample:
line A
line B
line A
line C
Output Sample:
line B
line C
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text file
2. ctrl-h open replace window
* set 'replace with pattern' to:

* click 'advanced' page, set 'run following for each matched unit' to:

3. click 'replace', done!

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Advanced_Window


Similar Examples:
How to remove all lines that contains more than one word? (74%)
How to remove all lines in file b.txt that appearred in a.txt? (69%)
How to extract all lines that has more than 2 numbers? (69%)
How to delete from FILE A all lines that appear in file B? (67%)
How to remove all lines that shorter than 10 characters? (67%)
How to extract all lines that has more than 4 columns from csv file? (66%)
How to delete all lines appear in file B from file A? (64%)
How to remove all lines that are not ended with word "ok" or "done"? (64%)

Check Demo of Advanced search and replace
Keywords:
toc  values  remove all line  split  spli  how to delete  delete  dele  delet  run following for each matched unit  replace once  more replace  search and replace open source  replace if  if replace  replace unit  search and replace text  search for pattern