I have a form which contain textbox for email. I am validating email address using reg Expression in javascript.
I used following reg :-
var regEmail = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
This reg is validating email address but the issue is if i used email address like abc@gmail.com.com . It not produce error.
Please suggest me any other reg expression which not accept email address for abc@gmail.com.com