Objects > RegExp
The RegExp object is a static object that both generates instances of a regular expression and monitors all regular expression in the current wind
This is the zero-based index value of the character position within the string where the most recent search for the pattern began. The lastIndex p
This is the main string against which a regular expression is compared. If the main string is handed to the regular expression operation as a parame
This property is echoed in the regular expression object instance, and is supported there in Navigator.
Returns the string that matches the regular expression as a result of the most recent operation. The short version is $& .
Returns the string that matches the last parenthesized subcomponent of the regular expression as a result of the most recent operation. The short ve
The leftContext property returns the string starting with the beginning of the most recent searched text up to, but not including, the matching st
If the search extends across multiple lines of text, the multiline property is set to true . A search through text in a textarea element, for
See this property for the Array object.
Parenthesized subcomponents of a regular expression return results. These results are stored individually in properties labeled 1 through 9
Powered by Linode.