Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1073.Replace text in multiple files -- How to replace apple with orange, but leave pineapple untouched?

User: editor -- 2013-04-18          << 1072  1074 >>
Hits: 3487
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How to replace apple with orange in many files, but leave pineapple untouched?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu 
2. drag multiple text files from "windows file browser" to "batch runner" window 
3. click "Fast Replace" button 
4. click "add" to add new rule: 
* set 'search' to :  
* set 'replace' to:  
5. check option of "reg exp" and "whole word" 
6. click "start", done. 
 
Note: for version earlier then 2.7, since there is no "whole world" option, you should set "search" to:  instead.

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to replace specified word with increasing binary sequence? (52%)
How to rename all files by adding a letter 'x' behind each filename? (52%)
How to replace date format YYMM with the YYMM01 of next month? (50%)
How to replace all duplicate lines with some text? (50%)
How to rename mutiple files with the 3rd and 4th line in file content? (50%)
How to replace all OLD with NEW only in line 100 to line 300? (50%)
I installed the replace pioneer but I cannot run, what happened? (50%)
How to batch replace files with specified format in each line? (49%)

Check Demo of Replace text in multiple files
Keywords:
world  whole word  leave  whole  range  tea  version  rsi  rule  ran  many rule  add text many files  add text to many files  replace text in many files  windows batch add text multiple files  add text to multiple files windows  replace rule multiple files  batch replace multiple rule