Validate Emails with RegEx

The title of this article sounds like it shouldn’t be there, right? Because what’s so hard about validating an email address with RegEx? A lot, as I just learned. When I googled “regex for email validation” I found examples like this: /[^\s]*@[a-z0-9.-]*/i That one allows a lot, too much. Even double dots are okay for… Continue reading Validate Emails with RegEx