Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating email with apostrophe
Message
De
02/02/2016 04:19:57
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01630479
Message ID:
01630523
Vues:
39
>Hi,
>
>I have the following validation expression for an email text box. I need to allow an apostrophe to be in the email address. My understanding is that I need to add the apostrophe to the ValidationExpression ('). But I am not sure where in the following expression the apostrophe should be? Should it be in the first bracket, e.g. [-+.'] or some other place?
>
>
>ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
>
>
>TIA
http://stackoverflow.com/questions/16361920/validate-email-address-using-javascript ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform