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:
darth@vader.com
"Darth Vader" <darth@vader.com>
"Darth Vader" <darth@vader.com> "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 darth@vader.com