Email validation sardinka at 15:21 on Tuesday, March 08, 2005
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})$