Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

965.Replace text in multiple files -- How to replace strings and numbers with new format in multiple files?

User: colin -- 2012-07-03          << 964  966 >>
Hits: 1631
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How to replace strings containing different numbers with new format in multiple files?
for 300 files, I am trying to replace
Quiz: Lesson 1 quiz with lesn1
Quiz: Lesson 2 quiz with lesn2
etc
Input Sample:
Quiz: Lesson 1 quiz
Quiz: Lesson 2 quiz 
Quiz: Lesson 3 quiz 
Output Sample:
lesn1
lesn2
lesn3
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 300 text files from windows file browser to "Batch Runner" window
3. click "Fast Replace" button to open "Fast Replace" window
4. click "add" to add new rule
* set "search" to:

* set "replace" to:

* click "ok"
5. make sure "reg exp" option is checked
6. click "start", done.

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to replace a word/string with increasing number in multiple files? (73%)
How to remove first number in each line for multiple files? (69%)
How to batch change format of multiple files? (69%)
How to replace the 2nd and 3rd occurrences of some words in multiple files? (66%)
How to remove a string of characters from multiple filenames? (65%)
How to replace a number with another number in same text file? (65%)
How to calculate the summary of all numbers in multiple files? (65%)
How to replace a word only one time in multiple text files? (64%)

Check Demo of Replace text in multiple files
Keywords:
less  replace strings  strings  different number  containing  replace string  string  different  numbers  z s  add start numbers  add numbers to multiple files  search and replace multiple strings in multiple files  replace text with add numbers  search replace multiple strings in file  replace multiple strings  strings files  replace multiple numbers