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          << 554  556 >>
Hits: 345
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" on windows platform 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!

Screenshot 1:  Replace_Window


Similar Examples:
How to remove all c++ comments that started with //? (60%)
How to replace a word/string with increasing sequence number in a text file? (58%)
How to replace all the numbers in a text file to the square value? (58%)
How to generate all the prime numbers that between 100 and 200? (57%)
How to batch rename many directories all at once by adding a sequence number ahead? (57%)
How to search and replace multiple files with rules different in sequence number? (55%)
How to count the number of words that started with "en"? (55%)
How to extract all lines whose line numbers are multiple of 3? (55%)

Check Demo of Advanced search and replace
Keywords:
symbol  sym  sequence number  sequence  single  seq  contain  start  number  ber  replace text sequence number  sequence number text file  symbol pattern  replace with sequence number  replace with number sequence  replace sequence number  sequence a number in replace  replace in sequence