- The first Regular Expression Library on the Web!

Please support RegExLib Sponsors


Regular Expression Details

Title Test Find Pattern Title
Password matching expression. Match all alphanumeric character and predefined wild characters. Password must consists of at least 8 characters and not more than 15 characters.
@12X*567 | 1#Zv96g@*Yfasd4 | #67jhgt@erd
$12X*567 | 1#Zv_96 | +678jhgt@erd
Author Rating: Not yet rated. lawson law
Your Rating
Bad Good

Enter New 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: It's Work!!
Name: Nick NeyKO
Date: 7/22/2013 10:12:45 AM
It's Work!! =D Thnks Dude i owe you!!

Title: It's Work!!
Name: Nick NeyKO
Date: 7/22/2013 10:12:17 AM
It's Work!! =D Thnks Dude i owe you!!

Title: It's Work!!
Name: Nick NeyKO
Date: 7/22/2013 10:11:18 AM
It's Work!! =D Thnks Dude i owe you!!

Title: Far too limiting
Name: Jamie Phelps
Date: 11/19/2008 11:01:35 AM
There is no sense in limiting the password to "predefined wild characters." You should be validating at most the presence of 1 or more letters, 1 or more digits, and 1 or more special characters along with a minimum length.

Title: Please, sebastian!
Name: Hank
Date: 2/18/2006 6:14:07 AM
Sebastian Nielsen, could you give me the URL of your online bank? I would *LOVE* to log in with just your name!!

Title: how to also not allow 'password'
Name: TedH
Date: 4/19/2005 1:14:47 AM
How would I change this if I also wanted to not allow people to use 'password' as their password regardless of case?

Title: why min 8 char?
Name: sebastian nielsen
Date: 7/1/2004 11:47:01 AM
Why must use 8 charachters? Im often use 1 charachter or allow blank password when im doing register form. Because by myself i HATE password and trying to crack this type of regexp on other sites in hope to get an blank password so i can login with my name only. But without the too-short lenght check , the regexp is good maximum lenght check was good.

Title: Re: I couldn't get this working
Name: Michael Ash
Date: 2/11/2004 2:14:59 AM
Try this one. It should fit your specs

Title: I couldn't get this working...
Name: Achinda99
Date: 2/6/2004 11:14:12 AM
tried this out... couldn't get it to work... what i need is a good regex for a password field... so its should allow all alpha-numerics as well as some special charachters... 8 to 20... and well this don't seem2work when modified for 20 chars... and i'm using vbscript... that make a difference???

Title: First character alpha only
Name: Harvey Dixon
Date: 6/6/2003 3:55:32 PM
How would you change the regex to make it where the first character can only be an alpha?

Copyright © 2001-2014, | ASP.NET Tutorials