Posted By

nicolaspar on 07/12/06


Tagged


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

luman
meth
neverwolf
Ernstladen
sorehead
vali29


Php validar email


 / Published in: PHP
 

  1. function emailValido( $email ){
  2. return preg_match( "/^
  3. [\d\w\/+!=#|$?%{^&}*`'~-]
  4. [\d\w\/\.+!=#|$?%{^&}*`'~-]*@
  5. [A-Z0-9]
  6. [A-Z0-9.-]{1,61}
  7. [A-Z0-9]\.
  8. [A-Z]{2,6}$/ix", $email );
  9. }

Report this snippet  

You need to login to post a comment.