# [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500:
> I picked this up in my travels.
>
> function validate_email($email)
> {
>
> // Create the syntactical validation regular expression
> $regexp =
> "^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$";
One of my email addresses is
[EMAIL PROTECTED]
Also, "[" ip-address "]" is a valid right hand side of an email address,
e. g.:
[EMAIL PROTECTED]
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php