I have a regex for my email validation which is:
^(?!.*\.{2})[a-zA-Z0-9_\.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+
I need to be able to prevent the user from entering the below email addresses :
.email@example.com
email.@example.com
email@example.com (Joe Smith)
email@-example.com
email@111.222.333.44444
How do I modify my existing regex so that it handles the above email addresses?