Regular expression for a password in Google RE2 format

Viewed 32

I would like your help to formulate a regular expression that controls the following characteristics

"16 characters, 1 number, 1 uppercase, 1 lowercase and 1 symbol, in any order" in google re2 format.

I have been trying and my latest regular expression is:

^([A-Z]{1,})(\d{1,})([a-z]{1,})\W{1,}$

i am using to check https://regex101.com/r/BgMkwf/2

If someone could help me, thank you very much.

0 Answers
Related