Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

555.Advanced search and replace -- How to replace all the symbol @ with sequence number that started from 1?

User: editor -- 2010-07-04
Hits: 50
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to replace all the symbol @ with sequence number that started from 1?
Input Sample:
Tombstone Territorial Park
==========================


@Dawson, Yukon Canada




@C/O Yukon Parks
P.O. Box 600
Dawson, Yukon Y0B 1G0
Canada

@867-667-5648 Whitehorse Office
867-993-6850 Dawson Office

@Tombstone Territorial Park Web Site

@May-September.

@No Entry Fee Charged

@The Tombstone Mountain area, covering 1,558
square miles, is located in...
Output Sample:
Tombstone Territorial Park
==========================


1 Dawson, Yukon Canada




2 C/O Yukon Parks
P.O. Box 600
Dawson, Yukon Y0B 1G0
Canada

3 867-667-5648 Whitehorse Office
867-993-6850 Dawson Office

4 Tombstone Territorial Park Web Site

5 May-September.

6 No Entry Fee Charged

7 The Tombstone Mountain area, covering 1,558
square miles, is located in...
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. ctrl-o open source text file that contain '@'
2. ctrl-h open 'replace' window
* in 'search for pattern', enter a single @
* in 'replace with pattern', enter:

3. click 'Replace', done!

Similar Examples:
How to replace all the numbers in a text file to the square value? (58%)
How to batch rename many directories all at once by adding a sequence number ahead? (57%)
How to remove/delete all symbols and numbers in a text file, only leave text? (54%)
How to remove all blank lines and lines that started with Name: or Addr:? (53%)
How to replace all "ID" in following xml file with increased ID? (53%)
How to remove/delete all symbols in a text file? (52%)
How to extract all telephone numbers from a text file? (51%)
How to remove/delete all lines with even line number? (51%)

Check Demo of Advanced search and replace