Hi,

I am trying to check if an email is an email or not, so I used this that I
found on the internet:

preg_match("/^([a-zA-Z0-9])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/",
$_POST['email']);

BUT, it returns false with the email [EMAIL PROTECTED]

And ok for [EMAIL PROTECTED]

What is the error here :)

/Peter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to