User: basikabo -- 2014-07-09 << 1216 1218 >> |
Hits: 3696 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
How to batch replace files with specified format containing directory of file? |
Input Sample: |
File D:\directory21\1.txt has following content: DATA1|||DATA2|||DATA3|||DATA4|||DATA5 DATA1|||DATA2|||DATA3|||DATA4|||DATA5 ... |
Output Sample: |
D:\directory21\1.txt: feng.zp directory21 /e /t /g DATA2\DATA3:F feng.zp directory21 /e /t /g DATA2\DATA3:F ... |
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 files to "Batch Runner" window 3. click "fast replace" button to open "fast replace" dialogue 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 selected, and click "start". |
Screenshot 1: Fast_Replace_Window |