Regular Expressions in Notepad++ Remove duplicate letters from a word
<p>In Notepad++ I want to find and Replace in following manner.</p>

<p>Let If a word is 'Book' 
Here is two 'o' in this Word. I want to remove one 'o'</p>

<p>After processing the word will be 'Bok'</p>

<p>Here is some examples</p>

<p>UFU > UF</p>

<p>sans > san</p>

<p>noob > nob</p>

<p>clock > clok</p>

<p>AABBCC > ABC</p>

<p>Or I can remove duplicate word one letter by one. Let first remove all duplicate 'a' then duplicate 'b' then... up to 'z'</p>

<p>like-</p>

<p>ABCDEEABCDDABB > ABCDEEBCDDBB > ABCDEECDD > ABCDEEDD > ABCDEE > ABCDE</p>

<p>Antidisestablishmentarianism > Antidisestblishmentrinism > Antidisestblishmntrinism > Antidsestblshmntrnsm > Antidsestblshmntrns > Antidsestblshmtrs > Antidsetblhmtr > Antidseblhmr</p>