lundi 25 mai 2015

RegExp Validation (email validation)

can anyone help me? I'm using a validation on Field validation that calls a Business Service(BS). In this BS it is performed an email validation with RegExp.

I'm using the following pattern: ^(.+)@([^();:,<>]+.[a-zA-Z]{2,10})

It is expected that the the email termination has between 2 and 10 characters. With 1 character I get the expected error but the same do not happens with 11 or more characters, I do not get any error. Someone can help me?

Thank you, Luis

Aucun commentaire:

Enregistrer un commentaire