I need a regexp, which matches duplicate words. I try this:
\b(\w+)\s+\1\b
This good, but is matches only consecutive duplicate words.
How can i matches not only consecutive duplicate words?
I need a regexp, which matches duplicate words. I try this:
\b(\w+)\s+\1\b
This good, but is matches only consecutive duplicate words.
How can i matches not only consecutive duplicate words?