I want to detect duplicate persian words by regex. I have seen examples with english words, but they did not work with persian words.
Something like this : \b(\w+)\b
, this works with english, but does not work with persian characters.
I want to detect آران
in آران وبيدگل آران و بيدگل
.
Any idea ?