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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(?=.*\d).{4,8}$
Description
Password expression. Password must be between 4 and 8 digits long and include at least one numeric digit.
Matches
1234 | asdf1234 | asp123
Non-Matches
asdf | asdf12345 | password
Author Rating: Not yet rated. Steven Smith
Source http://aspalliance.com/QuickStart/howto/doc/RegexCommon.aspx
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: Get Foreign Style MLM Software Panels from 14,999 only..
Name: suryakant
Date: 2/8/2015 12:48:28 PM
Comment:
पूरे भारत में मल्टी लेवल मार्केटिंग सॉफ्टवेयर प्रदाता (प्रारंभिक कीमत मात्र Rs 14,999) Get You Complete MLM Software in 14,999 only . Including Domain Name, Fast Loading W3C Validated Advance Responsive Website Designs,Dedicated USA Server with Unlimited Space , Highly Secured Full Statistics Reports and Charts in Admin Panel and User Friendly Attractive Professional Member Panel with Accurate Full Tested Software by Experienced team of Top Class Developers. Reach Us www.mlmsoftwarez.in Helpline 1 : +91-92140-60999 Helpline 2 : +91-92610-60999 Email Support 1 : [email protected] Email Support 2 : [email protected] Connect at facebook : https://www.facebook.com/mlmsoftwarez14999 Our Clients : MLM Software (14,999)- MLM Software in Assam, MLM Software in Bihar, MLM Software in Chhattisgarh, MLM Software in Chandigarh, MLM Software in Delhi, MLM Software in Andhra pradesh, MLM Software in Arunachal Pradesh, MLM Software in Gujarat, MLM Software in Goa, MLM Software in Himachal Pradesh, MLM Software in Haryana, MLM Software in Jharkhand, MLM Software in Kerala, MLM Software in Orissa, MLM Software in Punjab, MLM Software in Rajasthan, MLM Software in Uttar Pradesh, MLM Software in West Bengal, MLM Software in Maharashtra, MLM Software in Madhya Pradesh


Title: error
Name: pasquale
Date: 4/21/2009 6:37:29 AM
Comment:
it doesn't work with ie7!


Title: Harold
Name: Harold
Date: 11/2/2004 11:10:23 AM
Comment:
Hi Steven, It should probably be mentioned that this does not work on the Client side Regex. I had to use ^(?=.*\d+).{1,8}$ for the the atleast one validation and another control with ^.{4,8}$ to check length. Tried all diferrent combinations. Please let me know if I am doing something wrong!! Thanks Harold


Title: Punctuation
Name: Darren Neimke
Date: 10/21/2003 10:59:40 AM
Comment:
Dick... do you mean something like: ^(?=\w*\d)[\w]{4,8}$


Title: Puncuation
Name: Dick
Date: 10/21/2003 10:02:00 AM
Comment:
Can we add a filter to reject a password with a non-alphanumeric (punctuation) in it?


Title: student
Name: kris
Date: 3/30/2003 8:28:35 PM
Comment:
great one..thanks a lot


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