I have a file with reoccurring patterns and I want extract the 3rd line after the match, then delete another pattern from that third line.
For example the file is in the following format:
Hello
Name: Abc
Number: 123
Hello
Name: FQE
Number: 543
This occurs more than 100 times:
I want to be able to pull out the third line after Hello then extract the number so I'll have a number list like
123
543
Etc..