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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
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: The rating for this expression. 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: The rating for this expression. Miljana Grasilovic
   Displaying page 1 of 1 pages; Items 1 to 2

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