User: mike -- 2011-05-19 << 782 784 >> |
Hits: 3645 |
Type: Regular expression replace |
Search all Regular expression replace examples |
Description: |
How to find number replace in text? I have many files in a folder,I need to batch find bbb's number replace to aaa's number |
Input Sample: |
aaa 1 bbb 5 |
Output Sample: |
aaa 5 bbb 5 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Assume the location of line "aaa" and "bbb" are not fixed, following procedure will take first number of bbb's, and update all numbers of aaa's. 1. open "Tools->Batch Runner" window 2. drag multiple files from Windows file browser to "Batch Runner" window 3. click "Fast Replace" button 4. click "Add" to add a rule * set "search" to: * set "replace" to: * click "ok" 5. click "Start", all files will be changed. Note: 1. Please make backup to avoid mis-operation 2. If aaa and bbb has fixed location, just search: replace with: |
Screenshot 1: Fast_Replace_Window |