remove characters solution.