The exec() method of {{jsxref("RegExp")}} instances executes a search with this regular expression for a match in a specified string and returns a result array, or null. If the match succeeds, the ...