| User: editor -- 2008-05-18 << 129 131 >> |
| Hits: 1520 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| How to delete duplicate lines of a text file? |
| Answer: |
| 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/130.rst.zip |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |