Skip to content

Instantly share code, notes, and snippets.

View minprocess's full-sized avatar
💭
Working

William Pate minprocess

💭
Working
View GitHub Profile
@minprocess
minprocess / Regex for password strings.md
Last active October 23, 2023 20:12
Testing a regex for validating password strings

Testing a regex for validating a password string

Summary

This tutorial shows the result of testing I did of a regular expression (regex) that I found in the following stackoverflow.com question https://stackoverflow.com/questions/2370015/regular-expression-for-password-validation

The user asked for a regular expression for validating a password with the following condition: "Password must contain 8 characters and at least one number, one letter and one unique character such as !#$%&? "

The proposed regex (which will only work with the Latin alphabet) is