How do I check for adjacent characters and if they match, delete one?

Hi,

Can you try my post in your previous topic? I think it will work as you expect.

Regards,