Regex left for (Must not contain sequences of letters or numbers) and (Do not repeat a number or letter more than 5 times).
I know its repeated question but I was not able to find combination of my requirement. When I tried to combine I was getting errors
Other than that I was able to do it I was trying for not repeating more than 5 but this one is not working
`^(?=.*?[a-zA-Z])(?=.*?[0-9])((.)\2{0,4}(?!\2)).{6,15}$`
Partially working one is ^(?=.*?[a-zA-Z])(?=.*?[0-9]).{6,15}$
I need to both conditions in it.