RegExp Object
The RegExp object stores information on regular expression pattern searches.
Properties
The nine most-recently used memorized portions found during pattern matching. | |
The location where the first successful match begins. | |
The string against which a search was performed. | |
Where the last successful match begins. | |
The last matched characters. | |
The last parenthesized substring match, if any. | |
The input string up to the most recent match. | |
Indicates whether searching continued across line breaks. | |
The input string past the most recent match. |
Syntax
RegExp.propertyname
Arguments
Remarks
The RegExp object cannot be created directly, but is always available for use. Its properties have undefined as their value until a successful regular expression search has been completed.
Copyright © 2000 Chili!Soft