Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1011.Replace text in multiple files -- How to add empty line at begin of multiple files?

User: Aiki -- 2012-10-05          << 1010  1012 >>
Hits: 3746
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How can i add empty line at begin of multiple files so the first line of those files is always empty?
Input Sample:
aaa 
aaa 
aaa
Output Sample:
 
aaa 
aaa 
aaa
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu 
2. drag multiple text files from "windows file browser" and drop to "Batch Runner" window 
3. click "Fast replace" button 
4. click "add" to add new rule 
* set "search" to: 
 
* set "replace" to: 
 
* click "ok" 
5. make sure "reg exp" and "cross line" options are checked. 
6. click "start", done!

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to add a timestamp at the beginning of multiple text files? (76%)
How to move the last line to the beginning for multiple text files? (73%)
How to read each line of a file and insert into multiple files? (72%)
How to remove additional line breaks from multiple files? (70%)
How to move the specified line to the end in multiple files? (68%)
How to run a 3rd party application on multiple files? (68%)
How to extract last 100 lines from multiple files? (67%)
How to add words at the begin and end of first line in multiple files? (67%)

Check Demo of Replace text in multiple files
Keywords:
empty line  how to add empty line  empty  cross line  the first line  rule  first line  begin  add em  the first  replace empty line  add empty line to multiple files  add text to empty files  search and add text to empty file  empty text files  add begin of first line  add first line multiple text files  add text begin of multiple files