i have that string :
[START] john gregor max [END]
So what i need is to extract only the names : john gregor and max and avoid the spaces , i have marked my string range by START and END so you can understand where the spaces begin and end.
NOTE : [START] and [END] does not exist in the string , i just added it to explain more.
Or
string text = " john gregor max ";
[^\s]+: http://regexr.com?31k0e[A-Za-z]+: http://regexr.com?31k0hDo not use regex, just split your string on whitespace.