split line by dfifferent simbols 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]");