Match Object Properties

The Match object provides access to the read-only properties of a regular expression match.

Properties

FirstIndex Property

The first index of the match in the string.

Length Property

The length of the match.

Value Property

The match string.

SubMatches Property

The submatches of the match.

See Also

SubMatches Collection