I'm creating an email field in my html, can I only accept one @?
For example email:
chong!#$@gmail.com - should invalid because of there are others special characters included
or
ch@ng@gmail.com - should also be invalid because there are two @'s.
The only accepted special character should only be one @, how do I do this in javascript/jquery?
Sorry I really don't know much in regex. Or is there another way to validate an email format?