We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f129326 + a7463bd commit 2c0bcb8Copy full SHA for 2c0bcb8
comprobar_inputs.js
@@ -39,7 +39,7 @@ function validarNombre(nombre) {
39
* @return {Boolean} Devuelve booleano según el resultado de validación
40
*/
41
function validarEmail(email) {
42
- var patron = new RegExp("^(http(s)?:\/\/)?([w]{3}[\.])?[a-z0-9]+[\.][a-z]{2,3}$");
+ var patron = new RegExp("^[a-z0-9]+[\@][a-z0-9]+[\.][a-z]{2,3}$");
43
return patron.test(email);
44
}
45
0 commit comments