User: editor -- 2010-03-07 << 439 441 >> |
Hits: 3110 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to extract/parse all upper cases Acronyms from a text file? I have a text file with many upper cases' acronyms like EIGRP, DUAL, etc. How to extract all these words and remove duplicated ones? |
Input Sample: |
Routers that support EIGRP will automatically redistribute route information to IGRP neighbors by converting the 32 bit EIGRP metric to the 24 bit IGRP metric. Most of the routing optimizations are based on the Diffusing Update Algorithm (DUAL) work from SRI, which guarantees loop-free operation and provides a mechanism for fast convergence. |
Output Sample: |
DUAL EIGRP IGRP SRI |
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' window * in 'search for pattern', enter: * in 'replace with pattern',enter: * uncheck 'print unmatched units' option 3. click 'Replace', all upper cases words will be extracted, but there are some duplicated words 4. ctrl-h open 'Replace' window again * in 'Replace with pattern' enter: 5. click 'Replace', done! notes: Above 2 steps are included in following script 440.rst |
Download Script: scripts/440.rst.zip |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Window |
Similar Examples: |
How to extract all upper cases words from a text file? (85%) How to extract/parse all http addresses from text/html file? (71%) How to extract all IP address from a text file? (69%) How to reverse all cases of letters in a text file? (68%) How to extract all html address from a text file? (67%) How to extract all email addresses from many text files? (66%) How to extract all lines with numbers from many text files? (65%) How to extract all telephone numbers from a text file? (64%) |
Check Demo of Text file parser |
Keywords: |
upper cases duplicated words include upper upper case duplicated remove duplicate remove duplicat remove dupl remove dup extract acronyms from text upper cases file replace upper extract all words from text extract words from text file remove words extract all words in text extract all words |