Re: Regex for email validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mike a écrit :

php should have a good check built-in.

see http://www.php.net/manual/en/function.filter-var.php

Argh ! Howmany times it is in ? I spent so many time to write a regex that belongs the RFC822 :-/ Because all the regex in answer here was false. They don't allow email like "Mickael Doodoo"@lupusmic.com nor mickael+doudou@xxxxxxxxxxxx ; and they are valuable email addresses. Without the fact that a top level domain isn't always between two and three characters (think about .museum).

--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux