| User: editor -- 2008-05-14 << 98 100 >> |
| Hits: 557 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| How to convert text with following pig latin rules: 1. If a word begins with a consonant, you move that consonant to the end of the word, and add ¡®ay¡¯ to the end. So, ¡°pig latin¡± becomes ¡°igpay atinlay¡±. This includes the full sound of the beginning of the word, so a word like ¡®should¡¯ becomes ¡®ouldshay¡¯, not ¡®houldsay¡¯ ¡ª the sound of the word is more important than the spelling. 2. If a word begins with a vowel, you add ¡®way¡¯ at the end. So, ¡®ever¡¯ becomes ¡®everway¡¯ |
| Input Sample: |
| pig latin is an interesting game |
| Output Sample: |
| igpay atinlay isway anway interestingway amegay |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open source file 2. ctrl-h open replace dialog, in 'Replace' page, 1)set 'Search for Pattern': 2)set 'Replace with Pattern': in 'Advanced' page: set 'run following for each matched unit' to: 3. Click 'Replace', that's ok! |
| Download Script: scripts/99.rst.zip |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |