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

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.