How to find 3 or more consecutive characters?

nubjoyncmub

New Member
I'm making a password checking. One of those functions is to find if the inputted password is consecutively repeated. I do not have codes yet because I don't know how to do it.I found this one RegEx match two or more same character non-consecutive but it only match repeated commas.Here's are the scenarios:5236aaa121 - Repeated pattern because \[code\]a\[/code\] is consecutively repeated 3 times2312aa32aa - No repeated character111111asd - Repeated pattern because \[code\]1\[/code\] is consecutively repeated many times
 
Back
Top