Posted By

Meestercor on 05/22/08


Tagged

email textmate validation


Versions (?)

Check validation email adres


 / Published in: Other
 

  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  

You need to login to post a comment.