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]

Reply via email to