Jump to content

Recommended Posts

Posted

Boas,

Eu tenho esta validação de password, onde a password tem de ter letras minusculas e maiusculas, números e caracteres especiais:

/(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%]).{8,50}/

Mas está-me a aceitar tendo só 8 caracteres.

O meu objetivo é obrigatoriamente ter 8 caracteres, tem de ter pelo menos 1 minuscula, 1 maiuscula, 1 número e 1 caracter especial (excepto * ; / ; () ; ' ; \) e não pode repetir o mesmo caracter mais de 3 vezes.

Alguém me pode ajudar, sff?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.