Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

983.Advanced search and replace -- How to repeat each line multiple times with number increased/decreased?

User: comperssni -- 2012-07-30          << 982  984 >>
Hits: 1390
Type: Advanced search and replace   
Search all Advanced search and replace examples
How to repeat each line multiple times(For example,5 times);

At the same time,find 4 or more continuous digits in them,
increase by ten 5 times,and decrease the digit by ten 5 times.

Thanks Lot
Input Sample: 
Output Sample:
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 result file.

Screenshot 1:  Replace_Window

Similar Examples:
How to extract and join text from multiple files with user defined format? (60%)
How to replace strings in multiple text files with an increasing id start from 1? (59%)
How to remove duplicate lines in multiple files in different sub-folders? (59%)
How to remove the last 3 lines of multiple text files all at once? (59%)
How to generate a list of web pages with 2 numbers increased in sequence? (58%)
How to replace strings in multiple files with a global  increasing ID? (58%)
How to put each line of keywords into multiple files with random occurrence? (57%)
How to sort each line of text by the order of reversed line? (56%)

Check Demo of Advanced search and replace
regard  continuous  digits  increase  repeat  times  increas  dec  digit  dig  search for digits  repeat line  repeat text  replace times  search same file  replace digit  more replace  same file