How can I detect with a regex expression if the same consonant is repeated three times or more?
regex expression
My idea is to match words like tttoo
tttoo
The regex from answer higher [b-df-hj-np-tv-z])\1{2,}has a mistake ("y" is fogotten)
[b-df-hj-np-tv-z])\1{2,}
It should be [b-df-hj-np-tv-xz])\1{2,}
[b-df-hj-np-tv-xz])\1{2,}