RegExp["$`"] (Property/static)

An alias for the text to the left of the most recent match.


JavaScript - 1.2
JScript - 5.5
Internet Explorer - 5.5
Netscape - 4.0
Netscape Enterprise Server - 3.0
Opera - 5
JavaScript syntax:-RegExp["$`"]

This property uses the array index notation because the property name contains punctuation characters that would cause syntactic errors if the property name were not in quotes.


See also:RegExp.leftContext

Property attributes: