Posted By

Turek on 01/30/11


Tagged

email validation


Versions (?)

Last Edited at 01/30/11 12:12am

Viewed 2 times

Email Validation


/ Published in: PHP


  1. function checkEmail($mail) {
  2. return preg_match("/[a-zA-Z0-9_-.+][email protected][a-zA-Z0-9-]+.[a-zA-Z]+/", $mail);
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.