java string replace any char that isn't specific char code example
Example: how to replace all of one character with nothing in java
String meal = "Hambbburger";
String replaced = meal.replaceAll("b","");
String meal = "Hambbburger";
String replaced = meal.replaceAll("b","");