Regular Expressions 101

Community Patterns

123...6

password

1

Regular Expression
.NET 7.0 (C#)

@"
^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$
"
gm

Description

password validator

Submitted by anonymous - a month ago