I have seen many times that there is no *easy* way to write a regex to match the full specification for an email address. I do know there is at least one module on CPAN that does validation, it might be a place to start.
update: try this node for starters.In reply to Re: Email addresses and regex's
by AidanLee
in thread Email addresses and regex's
by philth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |