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
437.Advanced search and replace -- How to convert each line of a text file to the new format?
User:
editor -- 2010-03-04
<< 436
438 >>
Hits:
4340
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
How to convert the text of each line to new format?
Input Sample:
20100713 15:19:06 0007512863
20100622 08:12:04 0002912827
Output Sample:
751286320100713151906BA
291282720100622081204BA
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:
calc($match[3])$match[1]replace($match[2],':','')BA\n
3. click 'Replace', done!
Download Script:
scripts/437.rst.zip
Screenshot 1: Replace_Window
Similar Examples:
How to convert a text file to specified format?
(74%)
How to change the numbering format in a text file to a new format?
(70%)
How to sort all the lines of a text file randomly?
(69%)
How to format all the data in the text file with 8.2 format?
(68%)
How to change each line into specified format?
(67%)
How to change each line of data to the specified format?
(67%)
How to sort the lines in a text files by the order of line length?
(67%)
How to convert IP addresses in text file into Hexidecimal format?
(66%)
Check Demo of
Advanced search and replace
Keywords:
toc
how to convert
convert
conver
calc
format
windows
cal
new
each line
format convert
search and replace convert
format line
line format
convert text file search replace
each line new file
convert text
replace convert