javascript RegExp lastMatch
@March 15, 2008, 1:22 a.m.
lastMatch | Firefox/Netscape/NN 4 IE 5(Mac)/5.5(Win) ECMA n/a |
Read-only | |
Returns the string that matches the regular expression as a result of the most recent operation. The short version is $&. |
|
Example | |
var matched = RegExp.lastMatch; |
|
Value | |
String. |
Permanent URL:
http://javascript.gakaa.com/regexp-lastmatch.aspx
Powered by Linode.