
27/11/2009, 12:08
|
Colaborador | | Fecha de Ingreso: octubre-2009 Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 15 años, 5 meses Puntos: 334 | |
Respuesta: expresiones regulares
Código php:
Ver originalfunction checkEmail($email){ $reg = "#^(((([a-z\d][\.\-\+_]?)*)[a-z0-9])+)\@(((([a-z\d][\.\-_]?){0,62})[a-z\d])+)\.([a-z\d]{2,6})$#i"; }
Última edición por Hidek1; 27/11/2009 a las 12:09
Razón: fuente: http://www.ribosomatic.com/articulos/top-10-expresiones-regulares-en-php/
|