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:
446
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 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 first line to the start of each line?
(65%)
How to add some number to the specific column in csv file?
(64%)
How to add a space after the 15 character of each line?
(64%)
How to sort the text by the number of specific word in each line?
(63%)
How to count the occurrance of specific pattern in each line of text file?
(63%)
How to replace bytes in the specific postion of many binary files?
(63%)
Check Demo of
Advanced search and replace
Keywords:
specific
toc
space
chars
char
each line
how to add
add
each
replace unit
replace with specific
specific line
replace add space
add space
replace space
add text each line
line each add
add replace line