Removes the [1], [2] etc. from a text entry.