Regular Expressions 101

Password (Numeric, Special Char, Uppercase, Lowercase)

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

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

Description

Password Regex with minimum contain one Numeric, Special Char, Uppercase, Lowercase

Submitted by yvnt