Description:
The exec method searches string for text that matches regexp. If it finds a match, it returns an array of results; otherwise, it returns null.Syntax:
RegExpObject.exec( string ); |
- string : The string to be searched
Return Value:
Returns the matched text if a match is found, and null if not.Example:
<html> |
Test 1 - returned value : script
Test 2 - returned value : null
+JavaScript +JavaScript Frameworks Links +Javascript Development
+JavaScript's and More, Software and Marketing +JavascriptU +JavaScriptOn
+Javascript Problems +JavaScriptOn
+javaScript is a creek in West Virginia in the summe
+enJineS +JavascriptU +Javascript Tutor




0 comments:
Post a Comment