I tried a regular expression to validate email id. When I use this expression:
var emailxP = /^(\w+([0-9-+.']\w+)*+\@+\w+\.([\\a-z]{2,3})(\.\w+))$/;
the expression is not working the chrome is showing
ncaught SyntaxError: Invalid regular expression: /^(\w+([0-9-+.']\w+)*+\@+\w+\.([\\a-z]{2,3})(\.\w+))$/: Nothing to repeat
can please tell me what happen in there.
Thank you.