|User: firewolf -- 2012-12-18 << 1035 1037 >>|
|Type: Advanced search and replace|
|Search all Advanced search and replace examples|
|i have a rule txt(or dic) like this: |
according to the rule txt, replace match words, punctuation remain unchanged, no
matches remain unchanged£¨Sensitive remain unchanged
000,0000,,May I see your ticket?
000,0000,,You are acting a little .
000,0000,,May I see F/BI\ you/r\
000,0000,,You are a/ct\ing a l/itt\le.
|Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.|
|first of all, generate a mapping table like: |
1. ctrl-o open the origial rule file
2. ctrl-h open 'replace' windows
* set 'replace unit' to 'Line'
* set 'replace with pattern' to:
Note: if you want to generate upper case rules like: FBI,F|BI
You can use:
3. click 'replace', the mapping file is generated
4. ctrl-s save to rule.txt
Secondly, you can replace your files with the rules from rule.txt.
1. open "Tools->Batch Runner" window
2. drag multiple text files in to batch runner window
3. click "fast replace"
4. click "import" to import rules from rule.txt
5. check option of "reg exp"
6. click "start", done.
Screenshot 1: Replace_Window
|How to search and replace multiple file with multiple regex rules? (70%)|
How to insert mulitple text files into multiple html files? (67%)
How to refine multiple text files by specified rules? (64%)
How to split a text file into multiple files evenly on size? (62%)
How to read each line of a file and insert into multiple files? (60%)
How to rename file by sequence id with specified pre-defined order? (60%)
How to remove/delete first column for multiple files? (59%)
How to replace different lines with different rule? (58%)
Check Demo of Advanced search and replace
|ucfirst generate upper case punctuation unctuation matches upper upper case table mapping mapping file search replace text file from table replace text in multiple files using batch batch mapping table batch upper case batch case upper batch file upper batch file to upper case upper in batch file|