I am looking for a regex pattern to filter out words in a sentence with no repeated consecutive characters.
I have tried r'(?!.*(\w)\1{3,}).+'
as the regex pattern but it doesn't work.
for instance, in the sentence 'mike is amaaazing', I want the regex pattern to pick up 'mike' and 'is' only.
Any ideas?