User: yong chen -- 2016-10-13 << 1379 1381 >> |
Hits: 2594 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to batch extract line contains words:aaa or bbb by order? |
Input Sample: |
file 1: aaa 11111 bbb 11111 ccc 11111 file 2: aaa 22222 bbb 22222 ccc 22222 |
Output Sample: |
aaa 11111 bbb 11111 aaa 22222 bbb 22222 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Batch Runner" menu 2. click 'pick files' select multiple files 3. click 'fast replace' button 4. click 'add' to add new rules * set 'search' to: * set 'replace' to: * click 'ok' 5. check option of 'reg exp' and 'extract', uncheck 'cross line' option 6. click 'start', and select 'output to single file', done. |
Screenshot 1: Fast_Replace_Window |