Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1190.Advanced search and replace -- How to multiply numeric values within defined criteria in given text?

User: Testing -- 2014-03-30          << 1189  1191 >>
Hits: 1091
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
Replacing and multiplying numeric values within defined criteria in given text.
Example line shown as source and converted into target. Singled out values of \fs, \pos() and \iclip() for example. If possible in one go or multiple runs (scripts), the operation would search those values and multiply only those as example by 1.5.
Input Sample:
,,0,0,0,,{\blur1.25\fs57.6\fscx125.1\fscy158.4\pos(903.48,436.21)\iclip(m 670 450 l 794 482 834 497 640 445)}
Output Sample:
,,0,0,0,,{\blur1.25\fs86.4\fscx125.1\fscy158.4\pos(1355.22,654.32)\iclip(m 1005 675 l 1191 723 1251 745.5 960 667.5)}
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:

3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to multiply numeric values after specified symbol in each line? (54%)
How to extract multiple lines in specified order from many text files? (53%)
How to extract all characters within specified char set from a text file? (51%)
How to extract multiple fields from data file and create a csv file? (50%)
How to sort the numbers in each line by the descending order in a text file? (50%)
How to count the number of words that ended with "ing" in a text file? (50%)
How to multiply all money amount in a text file by 9? (50%)
How to rip out all but line 1 and specified text? (49%)

Check Demo of Advanced search and replace
Keywords:
scripts  within  replacing  multiply  given  give  led  define  fine  mer  multiple scripts  multiply line  multiply in text file  multiply in d  multiply file  example of line pattern  ctrl h replace example  only search text