Take a look at Email::Valid

Cheers,
Kevin

On Wed, May 01, 2002 at 03:43:07PM -0400, McElwee, Shane ([EMAIL PROTECTED]) said 
something similar to:
> Below I've a regular expression that checks the syntax of an email address.
> The problem I'm having is with the underscore "_" . I've tried some
> different forms of syntax but I know its something simple I'm missing. I
> think I've been looking at it too long. The validator should allow usernames
> with periods and underscores. Any ideas?
> 
> next if (!/^[\w][\w\._-]*@[\w\.-]+$/)
> 
> Cheers
> 
> Shane
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
All people have the right to be stupid, some people just abuse it!
        -- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to