User: spicey -- 2010-09-07 << 606 608 >> |
Hits: 3220 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to delete range of lines 4-6,10-12,16-18.....in a text file |
Input Sample: |
aa bb cc dd ee ff gg hh ii jj kk ll mm nn oo pp rr ss tt uu |
Output Sample: |
aa bb cc gg hh ii mm nn oo ss tt uu |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-o open the text file 2. ctrl-h open 'replace' window * set 'replace unit' to 'Line' * set 'unit number filter' to: 3. click 'Replace', done! Note: 4<6> means 4,10,16,22,... 5<6> means 5,11,17,23,... 6<6> means 6,12,18,24,... Fill nothing in 'search for pattern' and 'replace with pattern', means search any lines that has range 4-6,10-12,..., and replace with blank. |
Screenshot 1: Replace_Window |
Similar Examples: |
How to delete duplicate lines of a text file? (66%) How to sort and delete duplicate lines of a text file? (62%) How to remove/delete all blank lines in a text file? (61%) How to shuffle all the lines in a text file? (60%) How to delete all the lines without ceramics in text file? (59%) How to delete the first word in each line in a text file? (59%) How to remove/delete specified lines such as 1,2,3 and 9,11,13,15,... in a text file? (59%) How to remove/delete consecutive duplicate lines in a text file? (56%) |
Check Demo of Text file parser |
Keywords: |
101 range replace with blank blank unit number filter number filter how to delete filter delete delet delete range lines delete blank lines of text file delete blank lines delete blank lines in text file replace delete blank lines in text file number range delete blank lines in a file delete blank |