Hello, am new to java and come from php where we have preg_match_all, but i cant figurout how to do this is java.
I have this String str = "GET /whatever HTTP/1.1";
I want to annalyse this string and return to me what ever is inbetween "GET /" and HTTP
so in this case i whould like to return "whatever"
whatever could be a word or didgets but not a whitespace.
Pleas help me with this!