Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
636.Advanced search and replace -- How to add a space at the specific location of each line?
User:
editor -- 2010-10-22
<< 635
637 >>
Hits:
3697
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
How to add a space at the specific location of each line?
Input Sample:
12345678
12343426
88990008
87888221
32435244
Output Sample:
1234 5678
1234 3426
8899 0008
8788 8221
3243 5244
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:
chars($match,1,4) chars($match,5,-1)\n
3. click 'Replace', done!
Screenshot 1: Replace_Window
Similar Examples:
How to batch replace files with specified format in each line?
(72%)
How to add code to the same affix in each line?
(68%)
How to add up to 4 spaces before each line?
(68%)
How do I replace specified lines with each line from a file?
(67%)
How to count the number of specified part in each line?
(67%)
How to add a semicolon at the end of each line?
(67%)
How to add a <BR> at the end of each line?
(66%)
How to add a specified value to the sequence number in each line?
(65%)
Check Demo of
Advanced search and replace
Keywords:
toc
add a space
specific
space
chars
char
each line
how to add
add
each
specific line
replace with specific
replace add space
add space
space line
replace with space
replace space
add text each line