| User: editor -- 2013-07-10 << 1101 1103 >> |
| Hits: 3342 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| How to insert 3 to 10 words "ABC" into random position in a text file? The inserted words should not break the original words. |
| Input Sample: |
| The sun was hot. The boy was thirsty. He drank some water. He felt better. |
| Output Sample: |
| The sun was ABC hot. ABC The boy was ABC thirsty. He ABC drank some water. He felt better. |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open text file 2. ctrl-h open 'replace' dialogue * set 'replace with pattern' to: * click 'advanced' tab, set 'run following for each matched unit' to: 3. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |