JavaScript tutorial:
RegExp object properties

 

$1...$9 Properties
index Property
input Property
lastIndex Property