| User: chenjia -- 2011-06-30 << 812 814 >> |
| Hits: 4550 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| mutiple txt files line random shuffle |
| Input Sample: |
| text1: title line 1 line 2 line 3 line 4 text 2: title line 5 line 6 line 7 line 8 ... |
| Output Sample: |
| text1: title line 3 line 1 line 2 line 4 text 2. title line 8 line 5 line 7 line 6 ... |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. open 'Tools->Batch Runner' dialog 2. drag multiple text file from "windows file browser" to 'Batch Runner' window 3. click 'Fast Replace' button to open 'Fast Replace' dialog * click 'Add' to add one replace rule: leave 'search' to blank to shuffle all lines, set 'replace' to: to shuffle from line 2 to the end of file, set 'replace' to: * click "ok" 4. check option of 'Regular exp" and "cross line", and click "Start", done! |
Screenshot 1: Fast_Replace_Window |