Hello i have following problem.
I found regexp expression for email validation like this :
function isEmail(email) {
var regex = /^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+.)+?.+([a-zA-Z0-9]{2,4})+$/;
return regex.test(email);
}
It looked ok but when i type email address like this
asdasda@asdad
It is valid. Can someone help me why it is valid even without '.' -dot?
Thank You very much