|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Help with regexby bangor (Monk) |
| on Sep 04, 2018 at 22:47 UTC ( [id://1221715]=perlquestion: print w/replies, xml ) | Need Help?? |
|
bangor has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am trying to write a regex that will capture a mail id from a sendmail log file line. When there are a big number of multiple recipients their ids are listed over multiple lines and a number is added to the id:
The regex needs to capture both variations - this is what I tried: But that doesn't capture the normal line.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||