I\'m trying to use regular expressions to find three or more of the same character in a string. So for example: \'hello\' would not match \'ohhh\' would.
I\'ve tried doi
(\w)\1{2,} is the regex you are looking for.
(\w)\1{2,}
In Python it could be quoted like r"(\w)\1{2,}"
r"(\w)\1{2,}"