RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 18 regular expressions found.

   Displaying page 1 of 1 pages; Items 1 to 18
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: The rating for this expression. 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: The rating for this expression. 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 />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ "(?=(.*[\d]){" + minNumeric.ToString() + ",})"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;... <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ ".{" + 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: The rating for this expression. 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: The rating for this expression. 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: The rating for this expression. 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: The rating for this expression. 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: The rating for this expression. 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: The rating for this expression. 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: The rating for this expression. 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: Not yet rated. 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: Not yet rated. 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: Not yet rated. 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: Not yet rated. 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: Not yet rated. Ankhaa
   Displaying page 1 of 1 pages; Items 1 to 18

Copyright © 2001-2014, RegexAdvice.com | ASP.NET Tutorials