Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

571.Advanced search and replace -- How to remove all the lines that with odd line number for multiple files?

User: editor -- 2010-07-23          << 570  572 >>
Hits: 3713
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to remove all the lines that with odd line number for multiple files?
Input Sample:
line1 
line2 
line3 
line4 
line5
Output Sample:
line2 
line4 
line6 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" window 
2. drag all files from "Windows File Browser" to "Batch Runner" window 
3. click "Fast Replace", button 
* click "Add", in "search=>", enter: 
 
* in "Replace=>", enter: 
 
4. click "Start", done!

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to extract all lines that contain "abc" from multiple files? (73%)
How to extract all lines whose line numbers are multiple of 3? (71%)
How to remove additional line breaks from multiple files? (70%)
How to remove all lines that have duplicate contents in CSV files? (70%)
How to remove all lines that can be found in another file? (68%)
How to move the specified line to the end in multiple files? (68%)
How to remove first number in each line for multiple files? (67%)
How to replace a word/string with increasing number in multiple files? (66%)

Check Demo of Advanced search and replace
Keywords:
odd  odd line  remove all the lines  remove all  fast replace  line number  fast  fas  windows  rows  odd multiple  remove odd line  search and replace odd lines  odd lines  replace odd  remove all lines multiple  remove lines multiple files  remove line from multiple files