User: editor -- 2008-05-18 << 128 130 >> |
Hits: 3521 |
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" on windows platform 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 |
Screenshot 1: Replace_Window |
Similar Examples: |
How to add a space in the middle of the two characters in each line? (79%) How to add 3 spaces after every 9 characters in a text file? (77%) How to add a single space after each character in a text file? (74%) How can I add a word before the last 10 characters of each line? (71%) How to add a space at the specific location of each line? (70%) How to extract the first 10 and last 10 characters from each line? (67%) How to add up to 4 spaces before each line? (65%) How to reverse the order of characters in each line of text? (64%) |
Check Demo of Advanced search and replace |
Keywords: |
space after last character add a space after space last characters las chars character add space after each character a space after each character replace space after each character add a space after each character last space after the last after each character replace after space |