Skip to content

Instantly share code, notes, and snippets.

@BRAVO68WEB
Created December 30, 2022 14:27
Show Gist options
  • Save BRAVO68WEB/088111293902815cdda05c6bff2e0651 to your computer and use it in GitHub Desktop.
Save BRAVO68WEB/088111293902815cdda05c6bff2e0651 to your computer and use it in GitHub Desktop.
Password Regex
# Password must be at least 10 characters and atmost 24 long and contain at least one uppercase letter, one lowercase letter, one number and one special character"
/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{10,24}$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment