Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

368.Replace text in multiple files -- How to batch replace word "old" in many files with different words "new1","new2",...?

User: editor -- 2009-12-17          << 367  369 >>
Hits: 425
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
I have a lot of files: file1, file2, file3, ... ,and in each files, there is a word like 'old'.

I want to replace:

word 'old' in file1 to 'new1'
word 'old' in file2 to 'new2'
word 'old in file3 to 'new3'
...
How can I do it with Replace Pioneer?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-b open "Batch Runner" window
2. drag the file1,file2,file3 from file browser to "Batch Runner" window
3. sort the files by clicking the "input file" column
4. click "Fast Replace" button, click "Add":
enter search window like:

enter replace window like:

5. click "ok" and click "Start", all files will be replaced with new1, new2, ... in sequence

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to replace one content of same files with different contents ? (59%)
How to replace the same words in text files with different strings? (58%)
How to replace all words "NAME" in a file to different names listed in another file in sequence? (55%)
How to replace the all word "test" with the first word in same line? (54%)
How to batch replace 'old' to 'new' in many pdf files? (54%)
How to replace words in a text file only if they are whole words? (53%)
How can I replace the 3rd lines of many files to a fixed string? (52%)
How to batch rename files in different folders and move them to a common folder? (52%)

Check Demo of Replace text in multiple files
Keywords:
different words  sequence  seq  input  sort  fast replace  fas  many files  fast  old  multiple different words  batch file input from a text file  sort all words in a text file  sort words text file  replace with a sequence of words  replace batch many words  sequence multiple file  replace words in text with batch