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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Alphanumeric Password with Special Character Support
Expression
(?=^.{7,20}$)(?=.*\d)(?=.*[a-zA-Z])(?!.*\s)[0-9a-zA-Z*$-+?_&=!%{}/'.]*$
Description
Password length must be between 7 and 20 characters, include at least one alphabetic and one numeric character, and may include some special characters.
Matches
test1234 | test$%9* | Test$123
Non-Matches
testing | 12345678 | !@#$%^&*
Author Rating: The rating for this expression. Mike Pillittere
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

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