Email Check Snippet


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function is_valid_email($email)
  2. {
  3. if(preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0)
  4. return true;
  5. else
  6. return false;
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.