Replace Pioneer Home   All Examples   Free Download

 New request --free  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
Hits: 132
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" 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!
Download Script:  scripts/437.rst.zip

Similar Examples:
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 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%)
How to convert Hexidecimal IP addresses in text file into decimal format? (65%)
How to add line_no before each line of a text file? (64%)
How to sort all lines of text by specified keyword? (64%)
How to duplicate each line 5 times in a text file? (62%)

Check Demo of Advanced search and replace