| User: YL -- 2016-04-25 << 1364 1366 >> |
| Hits: 3238 |
| Type: Replace text in multiple files |
| Search all Replace text in multiple files examples |
| Description: |
| How to remove all lines but the second line from bottom? |
| Input Sample: |
| file1 ----------- line1 line2 ... line(n-1) line(n) ----------- file2 ----------- line1 line2 ... line(n-1) line(n) ----------- |
| Output Sample: |
| file1 ----------- line(n-1) ----------- file2 ----------- line(n-1) ----------- |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. open "Tools->Batch runner" menu 2. drag multple files to "Batch Runner" window 3. click 'Fast Replace' to open 'Fast Replace' window 4. click 'add' to add new rule * set 'replace' to: 5. click 'start', done. |
Screenshot 1: Fast_Replace_Window |