Remove a text code