View Single Post
Old 04-22-2009, 12:22 PM   #46 (permalink)
lazycoder
The Visitor
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
lazycoder is on a distinguished road
Default email validation is wrong

hey, email validation is still problematic, not valid
as it will accept _lazycoder@_.com as valid

Please try this one

PHP Code:
$pattern "/^[a-z]+[-|_|.]?[a-z0-9]+@[a-z0-9]+[-|.|_]?[a-z]+\.[a-z]{2,4}$/"
Hope it helps someone
lazycoder is offline  
Reply With Quote