|User: editor -- 2012-05-19 << 947 949 >>|
|Type: Replace text in multiple files|
|Search all Replace text in multiple files examples|
|How to search text XXXXX in multiple files, and in each file replace XXXXX with different strings, the new strings are prepared in advance.|
words.txt with following lines:
There are some html files:
|replace XXXXX in file1.html with string1 |
replace XXXXX in file2.html with string2
replace XXXXX in file3.html with string3
|Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.|
|Assume replace strings are saved in a file d:\test\words.txt |
1. open "Tools->Batch Runner" menu
2. drag multiple files from windows file browser to "Batch Runner" window
3. click "Fast replace" button to open "Fast Replace" dialogue.
* click "add" to add new replace rule
* set 'search' to:
* set 'replace' to:
* click 'ok'
4. click "start", done.
Screenshot 1: Fast_Replace_Window