User: editor -- 2011-08-04 << 832 834 >> |
Hits: 3958 |
Type: Replace text in multiple files |
Search all Replace text in multiple files examples |
Description: |
How can I search and replace multiple keywords in multiple files all at once? For example, need to replace all 'old1' with 'new1', 'old2' with 'new2' in multiple files? |
Input Sample: |
file1: old1.... ..old2.... file2: ....old1.. old2... |
Output Sample: |
new1.... ..new2.... file2: ....new1.. new2... |
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 txt files from "Windows File Browser" to "Batch Runner" window 3. click "Fast Replace" button 4. click "add" to add new rules: * set 'search' to: * set 'replace' to: click 'ok' 5. repeat step 4 to add all rules 6. click "Start", done. |
Screenshot 1: Fast_Replace_Window |