Need help with regex for password validation in c#
- minimun length of 8 caracters and maximun of 16
- at least one digit, lower case and one uppper case
What i tired:
var rule = new Regex("^(?=.{8,16}(?=*[a-z])(?=.*[A-Z])(?=.*[0-9])$");
but it doesnt work :(