Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

934.Advanced search and replace -- How to change the numbering format in a text file to a new format?

User: editor -- 2012-04-03          << 933  935 >>
Hits: 3382
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to change the numbering format in a text file to a new format? The original format is a number followed by a dot, how to change it to a number enclosed by a pair of parenthesis? 
Input Sample:
1. This is sentence one. 
2. This is sentence two. 
3. This is sentence three. 
Output Sample:
(1) This is sentence one. 
(2) This is sentence two. 
(3) This is sentence three. 
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' dialog 
* set 'replace unit' to 'chars' 
* set 'replace scope' to 'Line' 
* set 'search for pattern' to: 
 
* set 'replace with pattern' to: 
 
3. click 'replace', done. 
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to convert each line of a text file to the new format? (70%)
How to change all numbers in a text file to 2 decimial places? (67%)
How to change all numbers in a text file to the comma separated numbers? (65%)
How to convert a text file to specified format? (64%)
How to change the number in each line to specified order in a text file? (64%)
How to change a binary file into text file with readable hexidecimal format? (64%)
How to change each line of data to the specified format? (63%)
How to format all the data in the text file with 8.2 format? (63%)

Check Demo of Advanced search and replace
Keywords:
numbering  dot  parenthesis  parenth  nth  enclose  pare  replace scope  scope  how to change the number  how to change number format in a text file  set replace parenthesis  change number format text file  how to change the number format of a text file  enclosed text search and replace  search and replace text enclosed in  replace original  file number format