A
anonymous
The following expression I am using to validate an email.
However when empty spaces entered at the end of email it
is recognized as invalid email. How do I fix this problem?
^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*
[0-9a-zA-Z])*\.)+[a-zA-Z]
{2,9})$
However when empty spaces entered at the end of email it
is recognized as invalid email. How do I fix this problem?
^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*
[0-9a-zA-Z])*\.)+[a-zA-Z]
{2,9})$