Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
Python

r"
(?=^.{10,}$)(?=.*?\d)(?=.*?[a-z])(?=.*?[A-Z])(?=.*?[^a-zA-Z\d])
"

Description

1 Uppercase 1 lower case 1 number 1 not a number or letter

Submitted by anonymous - 8 years ago