| User: editor -- 2008-05-18 |
| Hits: 173 |
| Type: Advanced search and replace |
| Search all Advanced search and replace examples |
| Description: |
| How to add a space after the 15 character of each line? |
| Input Sample: |
| 1234567890abcde1234567890abcde aaaaabbbbbcccccdddddeeeeefffff 111112222233333444445555566666 |
| Output Sample: |
| 1234567890abcde 1234567890abcde aaaaabbbbbccccc dddddeeeeefffff 111112222233333 444445555566666 |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" to finish following steps. |
| 1. press ctrl-o open source file 2. press ctrl-h open 'Replace' dialog in 'Replace' page, * set 'Replace unit' to 'Line' * set 'Search for pattern': * set 'Replace with pattern': 3. click 'Replace', done. Note: chars($match,1,15) means 1 to 15 characters of matched line chars($match,16,-1) means 16 to last characters of matched line |
| Download Script: scripts/129.rst.zip |
Similar Examples: |
| How to add 3 spaces after every 9 characters in a text file? (77%) How can I add a word before the last 10 characters of each line? (71%) How to reverse the order of characters in each line of text? (64%) How to add a semicolon at the end of each line? (64%) How to remove the first 10 characters of each line in text file? (63%) How to add a line number at the beginning of each line? (63%) How to add a komma (,) after first and second words in each line? (63%) How to add a <BR> at the end of each line? (63%) |
Check Demo of Advanced search and replace |