java split string based on multiple characters code example
Example: java split for multiple characters
String input = "Hi,X How-how are:any you?";
String[] parts = input.split("[\\W]");
String input = "Hi,X How-how are:any you?";
String[] parts = input.split("[\\W]");