RegExp.lastMatch (Property/static)

A property of the global RegExp object.

Availability:

JavaScript - 1.2
JScript - 5.5
Internet Explorer - 5.5
Netscape - 4.0
Netscape Enterprise Server - 3.0
Opera - 5.0
JavaScript syntax:-RegExp.lastMatch

This property returns the most recently matched text.

Warnings:

See also:RegExp.exec(), RegExp.test(), RegExp["$&"]

Property attributes:

ReadOnly.