20/03/2018
Java Program To Remove All Vowels From String Using replaceAll() Method
===========================================
public static void main(String[] args)
{
System.out.println("Enter the string...");
String inputString ="ABEFIJO";
String newInputString =
inputString.replaceAll("[AEIOUaeiou]", "");
System.out.println("The string without vowels...");
System.out.println(newInputString);
}