Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

354.Replace text in multiple files -- How to replace the second character of every line to 4 in multiple files?

User: jiang -- 2009-09-23
Hits: 196
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
Folder inside 1000 text file,How to replace the second character of every line to 4 in every text file? how to replace a relatively rapid pace?THANKS
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. ctrl-b open "Batch Runner" window
2. click "Search Files" to search multiple files for replacement. 
3. click "Fast Replace" button to open "Fast Replace" window
(1) click "Clear" to clear all lines.
(2) click "Add", 
fill in "Search=>" like: 
fill in "Replace=>" like: 
(3) check the options, make sure "Regular Exp" option is selected, all other options are NOT selected.
4. click "Start", finish.

Note: 
* if you want to replace the Xth char of each line to Y, in step 3(2):
fill in "Search=>" like: 
fill in "Replace=>" like: 

* You should make backup in advance to avoid unnecessary data loss caused by mis-operation.

* To avoid overwriting old files, in "Batch Runner" window, you can also  select "Change Output Folder" option, and enter output folder name behind.

Similar Examples:
How to replace the second character of every line to 4 in a text file? (91%)
How to remove the first 10 characters of each line in text file? (65%)
How to replace the last occurance of 'old' in every line with 'new'? (61%)
How to reverse the order of characters in each line of text? (59%)
How to replace specific spaces into comma in each line of text file? (58%)
How to reverse the order of all the lines in a text file? (58%)
How to batch change format of multiple files? (58%)
How to remove every other characters on each line of text? (57%)

Check Demo of Replace text in multiple files