in reply to valid email addresses

I dont know if this might help, but my regex for email validation on all forms is :

m/^([\_\-\w\.]+)\@([\-\_\.\w]+\.\w{2,4})$/

Seems to be the best ive come up with, even makes sure the top level is 2 to 4 characters. DAMN THE .INFO!

--
ravnx - EFNet
ravnx@netpimpz.com

Replies are listed 'Best First'.
Re: Re: valid email addresses
by IlyaM (Parson) on Nov 27, 2001 at 21:08 UTC
    This regexp is broken. It doesn't accept legimate email addresses. Reread this thread and read RFC. Stop reinventing broken wheels.