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
Try this:
([b-df-hj-np-tv-z])\1{2,}
Explanation:
[b-df-hj-np-tv-z]
\1
{2,}
See live demo.