Skip to content

Instantly share code, notes, and snippets.

@kevinsearle
Created December 5, 2012 08:29
Show Gist options
  • Save kevinsearle/4213814 to your computer and use it in GitHub Desktop.
Save kevinsearle/4213814 to your computer and use it in GitHub Desktop.
PCRE MasterCard
//MasterCard credit card numbers
'/^(5[1-5][0-9]{14})*$/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment