So I am trying to remove all the x\'s from this string! Of course I can use replaceAll but I want it to remove one by one each x and then print it! But it keeps either error