Skip to content

Instantly share code, notes, and snippets.

@kevinsearle
Created December 5, 2012 08:28
Show Gist options
  • Save kevinsearle/4213807 to your computer and use it in GitHub Desktop.
Save kevinsearle/4213807 to your computer and use it in GitHub Desktop.
PCRE Most emails
// Email regex
// Finds most emails. Not RFC5322-compliant.
'/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})*$/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment