Microsoft® JScript™
$1...$9 Property
 Language Reference 
Version 3 

See Also                  Applies To


Description
Specifies the nine most-recently memorized portions found during pattern matching. Read-only
Syntax
RegExp.$n

The n argument is a number between 1 and 9.

Remarks
The value of the $1...$9 property is modified whenever a successful parenthesized match is made. Any number of parenthesized substrings may be specified in a regular expression pattern, but only the nine most recent can be stored.

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.