User: editor -- 2011-07-07 << 816 818 >> |
Hits: 3591 |
Type: Text data calculation |
Search all Text data calculation examples |
Description: |
How to search and sum the numbers at specified position in a text file? |
Input Sample: |
................... ... ... 33 tools. ... 11 tools. ...... 55 tools. ......... 56 users. .... ... |
Output Sample: |
33 tools 11 tools 55 tools Total: 99 tools |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-o open source text file 2. ctrl-h open 'replace' dialog * set 'search for pattern' to: * set 'replace with pattern' to: * uncheck 'print unmatched unit' option * click 'advanced' tab: * set 'run following for each match unit' to: * set 'insert end text' to: 3. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |