Strip formatting codes.