Javascript Reference
Categories: RegExp

javascript RegExp lastParen

@March 15, 2008, 1:22 a.m.
lastParenFirefox/Netscape/NN 4 IE 5(Mac)/5.5(Win) ECMA n/a  

Read-only  

Returns the string that matches the last parenthesized subcomponent of the regular expression as a result of the most recent operation. The short version is $+.

 
Example
 
var myValue = RegExp.lastParen;
 
Value

String.


Powered by Linode.