I am getting the following warning in JSLint for my regex expression.
Unexpected '\' before '.'.
var regexForEmail = /^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;
Can someone help me how to fix it or is there any other way to suppress the warning?
Thanks in advance
Dinesh.