Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1015.Advanced search and replace -- How to add a specified value to the sequence number in each line?

User: editor -- 2012-10-16          << 1014  1016 >>
Hits: 1231
Type: Advanced search and replace   
Search all Advanced search and replace examples
How to add a specified value to the sequence number in each line?
Input Sample:
1 first line
2 second line
3 third line
Output Sample:
1001 first line
1002 second line
1003 third line
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 "replace unit" 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 add sequence number for duplicated line? (66%)
How to add a semicolon at the end of each line? (65%)
How to add first line to the start of each line? (64%)
How to replace one specified word with a sequence of words from a file? (64%)
How to sort specified items descendingly in each line? (63%)
How to add code to the same affix in each line? (62%)
How to remove the sequence number before each line of text file? (62%)
How to add sequence number for each non-blank line of a text file? (62%)

Check Demo of Advanced search and replace
sequence number  sequence  100  seq  specified  value  number  each line  ber  num  search and replace add sequence  sequence number text file  replace text sequence number  replace text to sequence number  add sequence number  replace with sequence number  replace with number sequence  replace sequence number