Skip to content

Instantly share code, notes, and snippets.

@arjunghosh
Created February 12, 2009 15:13
Show Gist options
  • Save arjunghosh/62665 to your computer and use it in GitHub Desktop.
Save arjunghosh/62665 to your computer and use it in GitHub Desktop.
# Working and strong RegEx for email validation in Ruby
/\A([\w\.%\-\+]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment