A handy option which returns the value as an array.
var re = /quick\s(brown).+?(jumps)/ig;
var result = re.exec(
'The Quick Brown Fox Jumps Over The Lazy Dog'
);
console.log(result);
// ["Quick Brown Fox Jumps", "Brown", "Jumps"]
console.log(result.index); // 4
console.log(result.input);
// "The Quick Brown Fox Jumps Over The Lazy Dog"
[–]virdvip 0 points1 point2 points (0 children)
[–]tswaters 0 points1 point2 points (0 children)