how to replace all of one character with nothing in java

Java
String meal = "Hambbburger";

String replaced = meal.replaceAll("b","");
Source

Also in Java: