hey, professionals out there:

i need to write a parser for an email-header to retrieve the email of the
'To:'-field.
there are 2 possibilities:
'To: [EMAIL PROTECTED]' or
'To: first foo <[EMAIL PROTECTED]>'

i would only need the email-adress!
does anyone know the regular expression that can handle both possibilities?
(i give up!)

thanx!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to