ac senthilkumar's blog
________________________________________________________________________________________
Tuesday, June 14, 2011
Email validation in PHP
function is_Email($em)
{
if (preg_match("/^(\w+((-\w+)|(\w.\w+))*)\@(\w+((\.|-)\w+)*\.\w+$)/",$em))
return true;
else return false;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
No comments:
Post a Comment