Skip to content

Instantly share code, notes, and snippets.

@tkh44
Created July 30, 2012 18:10
Show Gist options
  • Save tkh44/3208781 to your computer and use it in GitHub Desktop.
Save tkh44/3208781 to your computer and use it in GitHub Desktop.
password regex
/^.*(?=(?:.*?[0-9]){2})[A-Za-z0-9#,.\-_]{8,15}$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment