Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

109.Advanced search and replace -- How to batch remove/delete first 8 lines of many files?

User: editor -- 2008-05-15
Hits: 239
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to batch remove first 8 lines of many files?
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1.press ctrl-o to open source file
2.press ctrl-h to open replace dialog, set as follows:     
In 'Replace' page:
* Set 'Replace Unit' to 'Line'
* Fill 'Unit number filter':

* Fill 'Search for pattern':   

* Fill nothing in 'Replace with pattern'
3. click 'Replace' Button, ok
If need process many files, user can click 'Batch..' in step 3, to open 'Batch Runner', and click 'Pick Files' to select multiple files, and click 'Batch Replace' to finish the operation.
Download Script:  scripts/109.rst.zip

Similar Examples:
How to batch remove/delete first and last line of many text files? (88%)
How to batch remove/delete first 500 bytes of many binary files? (84%)
How to batch remove/delete the last 6 characters of many filenames? (78%)
How to batch remove/delete the 5,6,7 characters of many filenames? (75%)
How to batch remove/delete non-fixed text in a text file? (70%)
How to batch remove/delete lines started by "address:"? (69%)
How to batch strip(remove) utf8 BOM of many files? (68%)
How to remove/delete all blank lines in a text file? (67%)

Check Demo of Advanced search and replace