Removing a duplicate words
hi,
i need a macro for removing a immediate duplicate words in a documents.
example :
Input: Title: Title: please use a meaningful and specific title to describe your question.
Output: Title: please use a meaningful and specific title to describe your question.
In the above case green colored "title" is removed only if there is following or immediate same words.
If there is no same word it remains constant as seen in red colored word "title" and it has not to be changed in anywhere.
like title word is presented three times in a doc but only removed only at one place.
please do the needful ...
|