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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Match a string containing at least 2 numbers and at least 6 alphabetic
Expression
(?=(.*\d.*){2,})(?=(.*[a-zA-Z].*){6,})
Description
Check password containing at least x numbers and y alphabetic. Use look back expression (?= )
Matches
abc2de2f, 2kdfd223df
Non-Matches
2abcdefgh, 9abc32de232
Author Rating: Not yet rated. Longge Ruan
   Displaying page 1 of 1 pages; Items 1 to 1

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