I\'m looking for a simple regular expression to match the string where no repeated characters. Example:
You may do negation through negative lookahead.
^(?!.*(\w)\1{3,}).+$
DEMO