[ad_1]
What is needed is to validate from a given string, if the user when typing his password has repeated any of the valid characters more than twice and in the case that he has not done so, the password should not be matched because it is not valid.
I have tried with this
(?!.*([a-zA-Z0-9@._\-\/,])\1{2})
and this
(?!([a-zA-Z0-9@._\-\/,])\1{2})
[ad_2]