Quote (StormHasHe @ 29 Nov 2012 09:19)
Parsing an email address is a tricky thing to achieve, no matter what language you're using. Try some popular regex sites like
http://www.regular-expressions.info/, and some regex tester to check. The big problem is there are just too many formats of email to validate, so you'll want to tunnel it to be close to your scenario of email addresses.
thanks
I ended up using /.+[\@].+[\.].+/
i know its not the prettiest of regex, but it got the job done
