Password regular expression can be used to verify that a password provided is strong enough to provide better protection against bot brute force attacks. This method, however, does not guarantee that a password will have enough entropy to be completely safe.
The regular expression below cheks that a password:
True
False
Enter a text in the input above to see the result
Example code in Javascript:
True
False
Enter a text in the input above to see the result
True
False
Enter a text in the input above to see the result
While this regex validation is better than nothing, in situations when additional security is needed you should also check the password entered for a set of commonly used passwords like:
One good list can be found here.
Discover UI Bakery – an intuitive visual internal tools builder.