Exp Reg : | |||
---|---|---|---|
Cadena : | « | ||
Introduzca la expresion regular | |||
numero entero: | /^\d+$/ |
---|---|
numero real: | /^[-]?\d+\.?\d+$/ |
fecha: | /^(\d{4})-(0?[1-9]|1[0-2])-(0?[1-9]|[12]\d|3[01])$/ |
hora: | /^((0?\d)|1\d|2[0-3]):([0-5]\d)(:([0-5]\d))?$/ |
email: | /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/ |
telefono en gral: | /^(([2-6]?([2-6]|[89])\d{6})|(7\d{7}))$/ |
telefono fijo: | /^[2-6]?([2-6]|[89])\d{6}$/ |
celular: | /^7\d{7}$/ |
pagina web: | /^(www)\.([a-z\-\_]+[\da-z\-\_]*)(\.([a-z]{2,4})){1,2}$/ |