I'm looking for some regex pattern to:
- not allow set the same characters
- not allow only special signs.
So:
- 11111111 - not allow
- 1111811111 - allow
- rrrrrrrr - not allow
- rrrrrrrrrr5 - allow
- 11111111% - allow
- %$!@$!@@@@ - not allow
- %%%%%%%%%1 - allow
I found regex which is helpful for recognize that string has only special sign: /^\W*\w.*$/, but I don't know how to join it with condition about not only repeated characters. Thansks for any advices.