Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

516.Replace text in multiple files -- How to remove the line 10 to 20 from many text files all at once?

User: editor -- 2010-05-21          << 515  517 >>
Hits: 2736
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How to remove the line 10 to 20 from many text files all at once?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" windows.
2. drag all files from "Windows File Browser" to "Batch Runner" window
3. click "Fast Replace" button to open "Fast Replace" dialog
click Add button:
* in "search" enter:

* in "replace" enter:

* click "OK"
* make sure "Regular Exp" option is selected, click "Start", done!

Note: the regular expression will match first 9 lines and keep them, and removed the 11 lines followed.

Similar Examples:
How to exchange the line 10 and 20 from many text files all at once? (90%)
How to remove the last 3 lines of multiple text files all at once? (76%)
How to convert many html files to text files all at once? (66%)
How to extract all lines with numbers from many text files? (61%)
How to batch remove/delete first and last line of many text files? (61%)
How to remove around 1/2 lines randomly from a large text files? (60%)
How to move the last line to the beginning for multiple text files? (60%)
How to sort the lines in a text files by the order of line length? (60%)

Check Demo of Replace text in multiple files
Keywords:
keep  how to remove the line  regular expression  expression  many text  regular  regula  regular exp  fast replace  fast  multiple files remove first 9 lines  remove text from many text files at once  10 once  remove first line from multiple text files  remove first line from multiple  remove first line from multiple files  regular expression remove first line  regular expression to remove first