We have a user who has a ‘+’ character in their email address, eg. "firstname.lastname@example.org". How do i get it right to make the email address valid coz everytime it says ‘invalid email address’. Do i have to add the ‘+’ character somewhere?
This is the code we use:
var patn = /^[_a-zA-Z0-9-]+(.[_a-zA-Z0-9-])@[a-zA-Z0-9-]+([.][a-zA-Z0-9-]+)+$/;
Thanks in advance