User: editor -- 2013-03-28 << 1067 1069 >> |
Hits: 3322 |
Type: Random word generator |
Search all Random word generator examples |
Description: |
How to randomly select 2~5 lines and append a string at end? |
Input Sample: |
.................... ........ .................... ............. ........................ ................. ........................ .............. |
Output Sample: |
.................... ........(STRING) .................... .............(STRING) ........................ ................. ........................(STRING) ..............(STRING) |
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 |