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

Please support RegExLib Sponsors

Hosting Spotlight

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(?=.*[0-9]+.*)(?=.*[a-zA-Z]+.*)[0-9a-zA-Z]{6,}$
Description
Password must contain at least one letter, at least one number, and be longer than six charaters.
Matches
a1b2c3 | abcdefg123 | 12345a
Non-Matches
abcdefghij | 1234567890
Author Rating: The rating for this expression. Eric Miller
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: Test
Name: Hungbv
Date: 7/13/2008 10:34:18 PM
Comment:
ádsd


Title: Mr.
Name: Srini
Date: 5/23/2005 10:44:04 AM
Comment:
Hi, If you validate a text like aqswde1 using clientside javascript it doesn't work. I tested it on regexlib.com


Title: Good one
Name: Feroz
Date: 11/3/2004 9:47:02 AM
Comment:
it is working in this online tool only ,its not working in asp.net regular expression validation control.


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