User: Jamie -- 2012-10-17 << 1015 1017 >> |
Hits: 3359 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
How to delete lines that start with duplicate text? |
Input Sample: |
1.text 111 4545667576887876867876876867 111 7887686786786786786787687876 112 4334808598458493598459349589 113 4359058435743857348573485735 113 4594593459495394539459345934 113 5584853858345893458583085385 114 3459359345934594395439594353 |
Output Sample: |
111 4545667576887876867876876867 112 4334808598458493598459349589 113 4359058435743857348573485735 114 3459359345934594395439594353 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-o open text file 2. ctrl-h open 'replace' dialogue * set 'replace unit' to "Line" * set 'search for pattern' to: * set 'replace with pattern' to: * click 'advanced' tab * set 'run following at the beginning of replace' to: * set 'run following for each matched unit' to: 3. click 'replace', done! |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |