This is off-topic but if someone could help, that would be great.

Please respond off list.

I need help with a regular expression. These are always hard for me.

I have several lines of input like this:

maillog-May 26 16:29:50 vader sendmail[22129]: h4QLTob22129:
from=<[EMAIL PROTECTED]>, size=967, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA,
relay=f9.
law10.hotmail.com [64.4.15.9]

I want to extract just the from address ([EMAIL PROTECTED]) and send
it to output, but I am having trouble getting it right. Any help is
appreciated.

Thanks,
Hunter



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to