Joe Smith will run... Jane Jones will follow... Bridget Burns and Jack Jones will be away... Jack Jones, Gracie Burns and George Burns have three days in...
substr = replace(/^(\w+ \w+ )(?:.*)/g,"$1").trim();
Joe Smith or
Jane Jones respectively.
Is there a method to extract just the names, preferably as one variable?
I have some experience with regular expressions but not enough to reliably extract what I need from examples such as these.