JavaScript RegExp.prototype.exec() Method The exec() method returns an array containing all the matched groups. It executes a search for a match in…
Tag:
exec()
-
-
JavaScript RegExp.prototype.test() Method The test() method of JavaScript executes a search for a match between a regular expression and a specified string.…
-
JavaScript RegExp.prototype.toString() Method The toString() method returns a string which represents the regular expression. Syntax RegExpObj.toString(); Parameters NA Return value This method…