I would like to prohibit . in front of the @ in email validation in javascript.
What I have:
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
So email.@domain.com is prohibited, but email.email@domain.com should be accepted.
What could I do?