I need to match (NOT DELETE) all duplicates words in a text.
For example: Men's·Tee·Shirt·Vintage·T·Shirt·1990·Deep·Black·Red·Text·Deep·Black·Red·Text·X-Small
Deep·Black·Red·Text·Deep·Black·Red·Text are repeating.
None of the regex i could find works.
Please help!
P.S. sometimes it is goind to be just one words matching: e.g. brown brown, and sometimes a pattern like i've mentioned before.