| User: Peter -- 2014-08-25 << 1236 1238 >> |
| Hits: 2874 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| How to output each 4 lines by reverse order |
| Input Sample: |
| Ep1 AAA Ep2 BBB Ep3 CCC Ep4 DDD ..... ..... |
| Output Sample: |
| Ep4 DDD Ep3 CCC Ep2 BBB Ep1 AAA ..... ..... |
| 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 with pattern' to: 3. click 'replace'. 4. ctrl-h open 'replace' dialogue again * set 'replace scope' to 'paragraph' * set 'replace with pattern' to: * click 'settings' tab: * set 'paragraph delimiter'->Fix Para lines to 5. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Window |
Similar Examples: |
| How to sort each line of text by the order of reversed line? (63%) How to sort all lines of text by specified keyword? (56%) How to change columns in each line to specified order in text file? (54%) How to convert each line of a text file to the new format? (54%) How to sort the lines in a text files by the order of line length? (54%) How to remove/delete all lines with even line number? (54%) How to remove/delete all lines with even line number? (54%) How to replace each line with line have same start word from another file? (53%) |
Check Demo of Advanced search and replace |
| Keywords: |
| paragraph delimiter reverse fix paragraph paragra delimiter order settings setting replace scope reverse lines tab delimiter order lines text file reverse text search paragraph paragraph pattern paragraph replace replace paragraph |