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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 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: The rating for this expression. Miljana Grasilovic
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: Not working properly
Name: Chris
Date: 11/21/2017 5:51:30 PM
Comment:
Is should not allow aaaaaaaa1! but it is allowing. Capital letter is missing but sill it is allowing. So bad expression


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