Javascript Reference
Categories: RegExp

javascript RegExp lastMatch

@March 15, 2008, 1:22 a.m.
lastMatchFirefox/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.

lipitor 20mg generic <a href="https://lipiws.top/">atorvastatin medication</a> order lipitor 40mg
Fjatpz - 2 months
purchase lipitor generic <a href="https://lipiws.top/">brand atorvastatin 80mg</a> generic atorvastatin 20mg
Fxkewq - 2 months

Powered by Linode.