I am having a string "What is your name?" in a variable like as shown below.
String str="What is your name ?";
String[] splitString =str.split("\\is+");
I want to split the string in such a way that I want only those words between is and ?. ie. your and name by using regular expression
can anyone tell me some solution for this.