Remove backspaces and repeats