Posted By

assbach on 12/10/06


Tagged

regex email


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

luman
christessmer
vali29


email validity check with regex


 / Published in: PHP
 

check if email address is valid

  1. $emailOK = eregi("([_\.0-9a-z-]+@)([0-9a-z][0-9a-z-]+\.)+([a-z]{2,3})",$_POST['email']);

Report this snippet  

You need to login to post a comment.