Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1298.Replace text in multiple files -- How to extract the certain line that follow the specified line?

User: shanfeng -- 2015-04-17          << 1297  1299 >>
Hits: 981
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How to extract the certain line with the specified words in its front line?
Input Sample:
File A:
******
year day time 
2010 10 10
******

File B:
*******
year day time 
2010 10 15
******

Output Sample:
File A:
2010 10 10

File B:
2010 10 15

Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
The following steps will extract a line that follows line of "year day time" in many files
1. open "Tools->Batch Runner" window
2. drag multiple files to "Batch Runner" window
3. click "fast replace" button
4. click "add" to add new rules
* set "search" to:

* set "replace" to:

* click "ok"
5. click "start", done

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to extract all lines containing words in specified file? (69%)
How to extract all lines that contain specific words in a file? (67%)
How to extract all data followed by specified words from many files? (64%)
How to extract all lines that contain specified words or phrases? (64%)
How to batch extract specified words from one txt file with specified name? (63%)
How to replace the certain column with specified words? (63%)
How to extract 5 unique lines from a text file with 30 lines? (63%)
How to extract all specified links from a html file? (62%)

Check Demo of Replace text in multiple files
Keywords:
certain line  year  day  specified words  rules  specified line  time  rule  specified  many files  extract words that start with  replace certain text  line add words  replace words multiple files  extract words  replace multiple rules  multiple rules replace  multiple words