I\'m having trouble fully understanding this Python 2 regular expression to validate email addresses. I found a great example here.
r\"[^@]+@[^@]+\\.[^@]+\"
Simply convert python regex to Javascript.
Python: r"[^@]+@[^@]+\.[^@]+"
r"[^@]+@[^@]+\.[^@]+"
Javascript: /[^@]+@[^@]+\.[^@]+/
/[^@]+@[^@]+\.[^@]+/