Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

17
  • 42
    This regular expression doesn't support addresses like [email protected] Commented Jun 2, 2009 at 16:46
  • 6
    it doesn't support emails like [email protected] Commented May 16, 2010 at 12:28
  • 6
    Why shouldn't the email addresses be validated client side? Surely it's a much faster form of validation client side, since we don't need to make multiple HTTP requests across a network to validate the data? (which is particularly important for mobile applications which may be contacting a server via slow Wifi or mobile networks). Commented Mar 24, 2013 at 15:38
  • 1
    This won't support email addresses like: [email protected], [email protected], and [email protected] (as Nadia Alramli already pointed out) Commented Jan 26, 2014 at 19:49
  • 2
    This expression leaves a whole lot to be desired: 1) disallows many valid username characters such as dash and plus; 2) disallows domains with more than 2 parts, found in many ccTLDs, such as geek.co.il; 3) disallows many of the new TLDs that use 4 or more characters, such as mobi and info; 4) doesn't support IDN at all. Commented Jan 26, 2014 at 20:45