User: David -- 2009-02-11 << 314 316 >> |
Hits: 1885 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
How do I replace a partial constant in my file with one by one lines in a dictionary file? |
Input Sample: |
I Like bubbles I Lick bubbles bubbles are fun bubbles are good do you like bubbles how many bubbles have you licked do you think bubbles like you? |
Output Sample: |
I Like apple I Lick tomato Fred are fun cat are good do you like hamsters how many toilet have you licked do you think computers like you? |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Please take following 2 steps: 1. Assume your dictionary file is d.txt, has one item each line. 1) ctrl-o open d.txt 2) ctrl-h open replace dialog set "Replace Unit" to "Line" * click "Advanced" page: set "run following at the beginning of replace" to: set "run following for each matched unit" to: 3) click "Replace" button, dictionary file is imported! 2. Assume your text to be replaced is a.txt 1) ctrl-o open a.txt 2) ctrl-h open replace dialog set "Search for pattern" to: set "Replace with pattern" to: 3) click "Replace", your text is replaced! |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |