|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Extracting numbers from a text fileby PetreAdi (Sexton) |
| on Nov 02, 2019 at 17:45 UTC ( [id://11108250]=perlquestion: print w/replies, xml ) | Need Help?? |
|
PetreAdi has asked for the wisdom of the Perl Monks concerning the following question: I have a file that looks like
I need to extract the number between 'aaa' and 'bbb' and then pick the following line and extract all numbers between 'ab' and 'ac' Output would be:
My basic regex is:
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||