User: Dilip -- 2014-09-21 << 1251 1253 >> |
Hits: 2610 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
How to use Regex in the dictionary? In the dictionary, I want to specify b(u|o)ke=bike This is a simple typo of bike |
Input Sample: |
buke boke |
Output Sample: |
bike bike |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. First of all, prepare a dictionary file "dictionary.txt" with following format in ech line: b(u|o)ke=bike ... 2. select "settings->dictionary->dictionay import" menu, set load data from file dictionary.txt, and set format to "key=value", and click "start" to import dictionary 3. ctrl-o open the file you want to replace 4. ctrl-h open 'replace' dialogue * set 'replace unit' to 'Word' * set 'replace witn pattern' to: * click 'advanced' tab, set 'run following for each matched unit' to: 5. click 'replace', done. 6. ctrl-s save to file. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |