Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1380.Text file parser -- How to batch extract line contains words:aaa or bbb by order?

User: yong chen -- 2016-10-13          << 1379  1381 >>
Hits: 933
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


Similar Examples:
How to extract all lines that contain specified words or phrases? (63%)
How to extract lines containg specified words from many files? (62%)
How to extract all lines that contain words in a list? (62%)
How to extract all lines containing words in specified file? (62%)
How to extract all lines that contain words A and B and C? (62%)
How to extract all lines that contain specific words in a file? (61%)
How to extract all lines that containing ABC or DEF with original order? (60%)
How to extract lines containing only name and address? (60%)

Check Demo of Text file parser
Keywords:
aaa bbb  contains word  aaa  batch extract line  output to single file  contains  rules  order  cross line  batch extract  batch file to pick option  line add words  replace words multiple files  search and replace multiple rules  extract words  line order  match contains  order line