Posted By

marcio on 02/09/08


Tagged

javascript mail regexp formularios validacion


Versions (?)

Validar mail


 / Published in: JavaScript
 

  1. function validarEmail(valor) {
  2. return (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/).test(valor);
  3. }

Report this snippet  

You need to login to post a comment.