This regex only removes repetitions of the same character, which doesn't seem like it would even cover that case.