javascript RegExp lastMatch

lastMatchNN 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.


1655,Nickname,Homepage or email,Comments here,Add comment