Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1314.Advanced search and replace -- How to decorate each of marching number with specified format?

User: box -- 2015-08-07          << 1313  1315 >>
Hits: 970
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
how to decorate each of marching number
Input Sample:
1,114,134,216
Output Sample:
int vlan 1
No ip proxy-arp
ip helper-address 10.10.10.88


int valn 114
No ip proxy-arp
ip helper-address 10.10.10.88


int vlan 134
No ip proxy-arp
ip helper-address 10.10.10.88


int vlan 216
No ip proxy-arp
ip helper-address 10.10.10.88

Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialogue:
* set 'search for pattern' to:

* set 'replace with pattern' to:

* uncheck 'print unmatched unit' option
3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to change each line into specified format? (72%)
How to change each line of data to the specified format? (69%)
How to convert pipe separated elements in each line to specified format? (63%)
How to convert a text file to specified format? (62%)
How to parse data from the text file and create text with  user specified format? (62%)
How to split each line of csv file into a single file with specified format? (61%)
How to create a text file including filenames in a folder with specified format? (61%)
How to count the number of specified part in each line? (60%)

Check Demo of Advanced search and replace
Keywords:
vlan  chin  specified format  help  dec  unmatched  address  unmatch  addr  specified  ip address search and replace  file number format  ip and address  ip address replace  ip address  open print file  open print  file format