I need a little assistance getting email addresses only from within their POSSIBLY INCLUDED <> brackets.
For example I have the following 3 strings and I need each one to return only the email address:
[email protected]
"Darth Vader" <[email protected]>
"Darth Vader" <[email protected]> "Possible additional text" (Shouldn't be here but I need to make sure the regex gets rid of it anyway just in case.)
On every single one of those I would want $email to equal [email protected]