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.

Required fields*

4
  • 1
    His email regex is missing valid characters like the + sign in the part before the @ sign Commented Nov 18, 2009 at 15:00
  • 1
    Email validation with regex is no trivial matter. I think this is more for learning than for using in hardcore production environments. However the URL pattern has worked well for me. Obviously it's going to need adjustments if your flavor of regex differs. Commented Nov 18, 2009 at 15:33
  • I love you! The link although, not 100% the answer, gave me a good alternative. Commented Nov 18, 2009 at 17:04
  • The above link is dead, it is now available at: code.tutsplus.com/tutorials/… Commented Apr 13, 2021 at 10:59