| User: editor -- 2008-08-27 |
| Hits: 276 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| How to remove/delete all characters except number and spaces in a text file? |
| Input Sample: |
| abc 012 def 123 ddd 222 uuu 333 |
| Output Sample: |
| 012 123 222 333 |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" to finish following steps. |
| Steps: 1. ctrl-o to open your text file 2. press ctrl-h to open 'Replace' dialog 1)set 'search for pattern' as: 2)set nothing in 'replace with pattern' 3. Click 'Replace' Note: [^\s\d] means characters other than spaces and digits |
| Download Script: scripts/259.rst.zip |
Similar Examples: |
| How to remove/delete all English characters in a text file? (74%) How to remove/delete all commas from comma separated numbers in a text file (72%) How to remove/delete all multi-byte characters in a text file? (72%) How to remove/delete all single-byte characters in a text file (71%) How to remove/delete all symbols in a text file? (70%) How to remove/delete all blank lines in a text file? (70%) How to remove/delete all lines ending by a comma(,) in a text file? (68%) How to remove/delete all symbols and numbers in a text file, only leave text? (66%) |
Check Demo of Advanced search and replace |