Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

658.Advanced search and replace -- How to split each line of text into 2 lines with same number of characters?

User: editor -- 2010-11-20          << 657  659 >>
Hits: 1749
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to split each line of text into 2 lines with same number of characters?
Input Sample:
01234567890123456789
1234512345
abcdefghijklmn
Output Sample:
0123456789
0123456789
12345
12345
abcdefg
hijklmn
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
* set 'replace unit' to 'Line'
* set 'replace with pattern' to:

3. click 'replace', done!

Screenshot 1:  Replace_Window


Similar Examples:
How to split one line into two lines from middle? (61%)
How to split a large text file into specified various number of lines? (60%)
How to randomly replace one line from line 7 to line 10 with the same numbers of -? (59%)
How to split text file by number of bytes? (59%)
How to remove/delete line breaks of all lines which has more than 20 characters? (58%)
How to split a string (text + number) at the last number? (57%)
How to split each line of csv file into a single file with specified format? (57%)
How to reverse a text file by characters? (57%)

Check Demo of Advanced search and replace
Keywords:
length  toc  number of characters  same  characters  split  spli  chars  character  char  split number of line  lines split  split lines  split 1 line to lines  number of lines  number lines  replace characters  number each line