Removing repeated characters

The easiest way would be to use a "replace" action.

If you need something else, have a look at the FAQs
There you find hints on how to use an action and a specific approach to remove space characters (trailing, leading, repeated):