Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

581.Regular expression replace -- How to search and replace with multiple mapping rules by regular expression?

User: editor -- 2010-08-05          << 580  582 >>
Hits: 521
Type: Regular expression replace   
Search all Regular expression replace examples
Description:
How to search and replace with multiple mapping rules by regular expression?
Is it possible to just use regular expression to search old1|old2|old3|old4 and replace with new1|new2|new3|new4 in "replace pioneer"?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
One common way to do multiple search and replace is:
1. open "Tools->Batch Runner" window
2. drag multiple files to "Batch Runner"
3. click "Fast Replace", enter "add" to add multiple search and replace rules and click "Start"

There is another quick way to do multiple search and replace on single file with following steps:
1. ctrl-o open source text file.
2. ctrl-h open 'replace' window
* in 'search for pattern', enter:

* in 'replace with pattern', enter:

3. click "Replace", done!

Screenshot 1:  Fast_Replace_Window


Screenshot 2:  Replace_Window


Similar Examples:
How to search and replace multiple files with rules different in sequence number? (62%)
How to search replace multiple files with distinct search replace definition for each? (62%)
How to search and replace in multiple files base on user-defined mapping file? (61%)
How to search and replace multiple terms with 1 common term in text file? (61%)
How can I search and replace multiple strings in multiple files all at once? (59%)
Is there any online tool to batch replace text file with regular expression? (59%)
How to search and replace text for specified occurrences with reg exp? (58%)
How to find and replace multiple line text? (56%)

Check Demo of Regular expression replace
Keywords:
common  mapping  rules  map  single  regular expression  expression  fast replace  fast  fas  search replace by mapping  search replace mapping  replace another  pioneer regular expression  mapping file  replace multiple with single  another file  replace text multiple file rules