Thread: [Solved] Removing a duplicate words
View Single Post
 
Old 05-31-2021, 11:57 AM
ranjan ranjan is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: May 2021
Posts: 77
ranjan is on a distinguished road
Default 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 ...
Reply With Quote