Returns the array of strings that match the given pattern in the text
Optional
the text to inspect
the string or regex to match
the array of strings that match the given pattern in the text
extractWords('foo, & bar'); // ['foo', 'bar'] Copy
extractWords('foo, & bar'); // ['foo', 'bar']
Returns the array of strings that match the given pattern in the text