Title |
Test
Find
Pattern Title
|
Expression |
(?=^.{8,30}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{"":;'?/>.<,]).*$ |
Description |
Password filter that matches the NSA Password filter DLL ENPASFILT.DLL.
At least 1 small-case letter
At least 1 Capital letter
At least 1 digit
At least 1 special character
Length should be between 8-30 characters.
Spaces allowed
The sequence of the characters is not important.
|
Matches |
Pa$$w0rd |
Non-Matches |
Pa$$word |
Author |
Rating:
Not yet rated.
Chris Blankenship
|
Source |
|
Your Rating |
|
Title: just what i needed
Name: Ed
Date: 12/14/2012 1:35:22 PM
Comment:
this was exactly what I needed, great job.
Title: I Take that back
Name: Derek
Date: 10/31/2012 2:08:06 PM
Comment:
It doesn't fully work. Try
Sco0terWheels
It passes, but should fail since there should be a special char.
Title: Finally
Name: Derek
Date: 10/31/2012 2:05:01 PM
Comment:
I went through at least a dozen of these and this is the only one that works as stated.
Title: doesnt work in php
Name: felix
Date: 7/21/2007 11:36:37 AM
Comment:
i cant get it workin with:
if(preg_match("(?=^.{8,30}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{"":;'?/>.<,]).*$", $pw)) {
echo"nicht gut";
}
Title: what if you want 2 matches??
Name: steve
Date: 2/14/2007 11:58:18 AM
Comment:
I need the same expression except 2 matches for each instance. Cant seem to get it to work right.