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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 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
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Doesn't Require a Number
Name: Joshua
Date: 2/1/2022 4:37:39 PM
Comment:
This password will pass your regex string: asdfjkleF! There is no number in the string "asdfjkleF!".


Title: Thanks for the regix
Name: kiran
Date: 4/21/2009 9:57:44 AM
Comment:
thanks for the regix . it helped me a lot .


Title: Thanks for the regix
Name: kiran
Date: 4/21/2009 9:57:35 AM
Comment:
thanks for the regix . it helped me a lot .


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