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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Strongish Password
Expression
^[a-zA-Z]\w{3,14}$
Description
The password's first character must be a letter, it must contain at least 4 characters and no more than 15 characters and no characters other than letters, numbers and the underscore may be used
Matches
abcd | aBc45DSD_sdf | password
Non-Matches
afv | 1234 | reallylongpassword
Author Rating: Not yet rated. Steven Smith
Source http://www.4guysfromrolla.com/webtech/120400-1.shtml
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: Read the description again
Name: Ross
Date: 5/17/2011 2:38:46 PM
Comment:
Tom, it says in the description password has to begin with a letter. Your password begins with a number


Title: Strong password RegEx does not work
Name: Tom
Date: 8/7/2006 1:31:03 PM
Comment:
THis did not work. I tested 1there1 and it should not have been a match but came up as a match


Title: Engineer
Name: Anazi
Date: 4/28/2004 5:44:09 AM
Comment:
Good work


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