Honestly, I'd stick to using php's filter extension. It -should- be the best one out there. If it is not processingsomething it should, then it's a bug - submit it so all of us benefit:) I am tired of trying to find regexps and all that every time, I put mystock into PHP's core when I can. On 8/27/08, Lupus Michaelis <mickael+php@xxxxxxxxxxxx> wrote:> 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>>