strip any character that is repeated more than 3 times in a row