Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(?=^.{6,10}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{":;'?/>.<,])(?!.*\s).*$ |
Description |
This regular expression match can be used for validating strong password. It expects atleast 1 small-case letter, 1 Capital letter, 1 digit, 1 special character and the length should be between 6-10 characters. The sequence of the characters is not important. This expression follows the above 4 norms specified by microsoft for a strong password. |
Matches |
1A2a$5 | 1234567Tt# | Tsd677% |
Non-Matches |
Tt122 | 1tdfy34564646T* |
Author |
Rating:
Sujata Bhave
|
Title |
Test
Details
Very Strong Password
|
Expression |
^(?=.*[a-z].*[a-z])(?=.*[A-Z].*[A-Z])(?=.*\d.*\d)(?=.*\W.*\W)[a-zA-Z0-9\S]{9,}$ |
Description |
This pattern requires at least two lowercase letters, two uppercase letters, two digits, and two special characters. There must be a minimum of 9 characters total, and no white space characters are allowed. |
Matches |
A1!B2@cde |
Non-Matches |
ABC!@#123 |
Author |
Rating:
Philip
|
Title |
Test
Details
Strong Password
|
Expression |
^(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{7,30}$ |
Description |
The basic expression requires at least 1 lower case, 1 upper case, 1 numeric, 1 non-word and no whitespace.
<br /><br />
The format of the expression lends itself to being parameterised, thus in C# I have a method that returns a modified pattern based on passed in parameters e.g.
<br /><br />return "^(?=(.*[a-z]){" + minLowerCase.ToString() + ",})"<br /> + "(?=(.*[\d]){" + minNumeric.ToString() + ",})"<br /> ... <br /> + ".{" + minLength.ToString() + "," + maxLength.ToString() + "}$");<br /><br />Its then possible to set the password strength via configuration files which require strong passwords in production environments, but allow weaker passwords in development environments. |
Matches |
qW1@xxx |
Non-Matches |
qwerty123 |
Author |
Rating:
Not yet rated.
Chris Stead
|
Title |
Test
Details
Strong Password
|
Expression |
(?=^.{8,}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s)[0-9a-zA-Z!@#$%^&*()]*$ |
Description |
This regular expression can be used for validating a strong password. It expects at least 1 lowercase letter, 1 uppercase letter, and 1 digit. It will also allow for some special characters. The length should be greater than 8 characters. The sequence of the characters is not important. |
Matches |
Password1|1Passwor|passworD1|2passWord|Pass2Word|pa1SS2word|!1qAzxsw2 |
Non-Matches |
q3w4e5er|asdfg|asdfghjkl;|ag asg ag|d36234724|mko)+OKM1 |
Author |
Rating:
Not yet rated.
Scot Baird
|
Title |
Test
Details
Strong Password
|
Expression |
(?-i)(?=^.{8,}$)((?!.*\s)(?=.*[A-Z])(?=.*[a-z]))(?=(1)(?=.*\d)|.*[^A-Za-z0-9])^.*$ |
Description |
Strong password with the following requirements.
- At least 8 characters long.
- At least 1 uppercase, AND at least 1 lowercase
- At least 1 digit OR at least 1 alphanumeric.
- No spaces. |
Matches |
a3dAbed. | P@ssword1 | aB_1bbbb | myPassw0rd! |
Non-Matches |
password | password12 | password__12 | p@ssw0rd |
Author |
Rating:
Eric Malamisura
|
Title |
Test
Details
Password validation
|
Expression |
(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$ |
Description |
Validates a strong password. It must be between 8 and 10 characters, contain at least one digit and one alphabetic character, and must not contain special characters |
Matches |
test1test |
Non-Matches |
testtest |
Author |
Rating:
ravi pulluri
|
Title |
Test
Details
Strong password
|
Expression |
(?-i)(?=^.{8,}$)((?!.*\s)(?=.*[A-Z])(?=.*[a-z]))((?=(.*\d){1,})|(?=(.*\W){1,}))^.*$ |
Description |
Password must have at least 8 characters with at least one Capital letter, at least one lower case letter and at least one number or special character. |
Matches |
Spring08 | spR1ng14 | ~Spring% |
Non-Matches |
spring | SpringSp | 12345678 |
Author |
Rating:
Alex G
|
Title |
Test
Details
Validate very strong password
|
Expression |
^(?=^.{8,}$)(?=.*\d)(?=.*\W+)(?=.*[a-z])(?=.*[A-Z])(?i-msnx:(?!.*pass|.*password|.*word|.*god|.*\s))(?!^.*\n).*$ |
Description |
This regular expression can be used to validate a strong password. It will evaluate to true if the following critera are met:
Must be 8 characters in length total.
Must contain at least 1 digit.
Must contain at least 1 lower case letter.
Must contain at least 1 upper case letter.
Must contain at least 1 non-character (such as !,#,%,@, etc).
Must not contain the words "password" or "pass" or "word" or "god"
Must not contain a whitespace.
Note: This version is not compatible with JavaScript |
Matches |
one2!fouR, @Eight21, one22Four%, 2thRee@four, 7diPity*, 12345aB( |
Non-Matches |
one2three!, four2345, #viced@#$, short1@ |
Author |
Rating:
Charles Forsyth
|
Title |
Test
Details
Regx for strong password
|
Expression |
^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(^[a-zA-Z0-9@\$=!:.#%]+$) |
Description |
This Expression will allow at least one small letter, one capital and one numeric digit. And length of the password is minimum of 8 and allowed special chars are pre defined(@\$=!:.#%),special chars are optional in password |
Matches |
Password1 | Password@1 | password#1 |
Non-Matches |
password1 | password1~ | Pass123 |
Author |
Rating:
Not yet rated.
bussureddy82
|
Title |
Test
Details
.NET MembershipProvider strong password validation for PasswordStrengthRegularExpression
|
Expression |
(?=^[!@#$%\^&*()_\-+=\[{\]};:<>|\./?a-zA-Z\d]{7,}$)(?=([!@#$%\^&*()_\-+=\[{\]};:<>|\./?a-zA-Z\d]*\W+){1,})[!@#$%\^&*()_\-+=\[{\]};:<>|\./?a-zA-Z\d]*$ |
Description |
Regex to validate strong password for .NET MembershipProvider ValidatePassword. Regex checks for minimum required password length and for minimum required non-alphanumeric characters. Change value '7' according to MinRequiredPasswordLength and '1' to MinRequiredNonAlphanumericCharacters. |
Matches |
12345!r@r | #dfgjaydh% | aA1!@#$% | 11111#aZ |
Non-Matches |
12345rfg | hsjahdgs | 12345 |
Author |
Rating:
Not yet rated.
Bram van den Broek
|
Title |
Test
Details
Strong Password
|
Expression |
(?=^.{8,15}$)((?!.*\s)(?=.*[A-Z])(?=.*[a-z])(?=(.*\d){1,}))((?!.*[",;&|'])|(?=(.*\W){1,}))(?!.*[",;&|'])^.*$ |
Description |
Password must have at least 8 characters and maximum of 15 characters with at least one Capital letter, at least one lower case letter and at least one number.Special character is optional. Special characters ",;&|' not allowed. |
Matches |
Sathish2 | Sathi$h2 | Sath1sh |
Non-Matches |
sathish | sathish2 | Sathish&2 | Sath|sh |
Author |
Rating:
Sathishkumar
|
Title |
Test
Details
Strong password
|
Expression |
^(?=(.*[a-zA-Z].*){2,})(?=.*\d.*)(?=.*\W.*)[a-zA-Z0-9\S]{8,15}$ |
Description |
Strong passwords with min 8 - max 15 character length, at least two letters (not case sensitive), one number, one special character (all, not just defined), space is not allowed. |
Matches |
&test*81 | te$tPa55word | testpass(7 |
Non-Matches |
mypassword | pass%5 | test5324 | 374833e** |
Author |
Rating:
Miljana Grasilovic
|
Title |
Test
Details
Strong password
|
Expression |
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d.*)(?=.*\W.*)[a-zA-Z0-9\S]{8,15}$ |
Description |
Strong passwords with min 8 - max 15 character length, at least one uppercase letter, one lowercase letter, one number, one special character (all, not just defined), space is not allowed. |
Matches |
te$tPa55word | Passw0r|) | Pa$sw0rd |
Non-Matches |
&test*81 | testpass7* | TestPassw0rd |
Author |
Rating:
Miljana Grasilovic
|
Title |
Test
Details
Strong Password
|
Expression |
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,20}$ |
Description |
Password between 8 and 20 characters; must contain at least one lowercase letter, one uppercase letter, one numeric digit, and one special character, but cannot contain whitespace. |
Matches |
Abc1234# | abcD$123 | A1b2&C3! |
Non-Matches |
abcd1234 | AbCd!@#$ | Abc 123# |
Author |
Rating:
Not yet rated.
Jay French
|
Title |
Test
Details
Strong Password Validation
|
Expression |
^(?=.*[!@#$%^&*()\-_=+`~\[\]{}?|])(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).{8,20}$ |
Description |
This should require all of the following: An uppercase letter, a lowercase letter, a number and a special character from the provided list. Lastly, it needs to be between 8 and 20 characters long.
A lot of expressions I've found here don't require all four, this should. I'm pretty new at regex though, so I hope that other people will help strengthen this expression.
When testing on this site, make sure you have the Case Insensitive checkbox turned off. |
Matches |
p2sSw@rd | p2sSw@rd#l0ngEr | abc#$%GH1 |
Non-Matches |
p2ssw@rd | p2sSw@rd#l0ngErThisIs2l0ng | abc123DEF |
Author |
Rating:
John Pirkey
|
Title |
Test
Details
strong password limited character set
|
Expression |
(?=.*\d)(?=.*[a-z])(?=.*[A-Z])^[\w!@$#.+-]{8,64}$ |
Description |
8 to 64 characters. Spaces not allowed. Require at least one UPPER, one lower and one number. Then limit the input to a-z A-Z 0-9 _-+.$ # @ and !
|
Matches |
LongEr1 !1LongeR ++++Aa1+++ |
Non-Matches |
sHort! all-lower allLetters |
Author |
Rating:
Not yet rated.
V A R
|
Title |
Test
Details
Strong password
|
Expression |
((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\W_]).{6,50}) |
Description |
Password requires at least 1 lower case character, 1 upper case character, 1 number, 1 special character and must be at least 6 characters and at most 50 |
Matches |
Abcde1! | Abcde1$ | ABCDe1! |
Non-Matches |
abcde1! | ABCDE1! | abcdef |
Author |
Rating:
Jonathan Baggaley
|
Title |
Test
Details
Strong Password
|
Expression |
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*\W)(?!.*\s).{8,}$ |
Description |
Password expresion that requires one lower case letter, one upper case letter, one digit, one non-word character, 8>= length and no spaces. |
Matches |
aA@1aaaa | aA@1aaaaasfljs;lkfe |
Non-Matches |
aA@1a aaa | aA1aaaaaaaa | 12345678 |
Author |
Rating:
Ankhaa
|
Title |
Test
Details
Strong Password
|
Expression |
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_\~\-\`\\/\"\'+|\[\]}{:;'?/>.<,])(?!.*\s)(?!.*\s).{8,55}$ |
Description |
Password that allows for 1 special char, 1 numeric, 1 upper case, 1 lower case. Its been tested against the Javascript engine. |
Matches |
Passw0rd1!@# |
Non-Matches |
GeneralTso |
Author |
Rating:
Not yet rated.
Sridhar Sripathy
|
Title |
Test
Details
Strong Password (numeric or special char)
|
Expression |
^(?=.*[a-zA-Z])(?=.*[0-9!@#$%^&*\?\+])(?!.*[()_\-\`\\/\"\'|\[\]}{:;'/>.<,])(?!.*\s)(?!.*\s).{8,20}$ |
Description |
Case sensitive:
-8-20 characters
-at least 1 letter
-at least 1 numeric or special
-these special chars only ~ ! @ # $ % ^ & ? * + |
Matches |
P@SSw0rd~!@#$%^&?*+ |
Non-Matches |
Password |
Author |
Rating:
Sridhar Sripathy
|
Displaying page
of
pages;
Items to