Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Check for valid email address
SUBMITTED BY:
Guest
DATE:
Jan. 15, 2014, 9:47 p.m.
FORMAT:
PHP
SIZE:
166 Bytes
Raw
Download
Tweet
HITS:
692
Go to comments
Report
function is_valid_email($email)
{
if(preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0)
return true;
else
return false;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus