This link is interesting.
regex - Regular Expression For Duplicate Words - Stack Overflow<https://stackoverflow.com/questions/2823016/regular-expression-for-duplicate-words>
Is there any example in Postgres?
Regards,
David