index Property (JScript 5.6)

Returns the character position where the first successful match begins in a searched string. Read-only.

RegExp.index 

Expand imageRemarks

Expand imageExample

Expand imageRequirements

Expand imageSee Also