Matches Collection Object
The collection of zero or more Match objects returned by the RegExp object’s Execute method; each Match object allows you to identify and manipulate one of the strings found by the regular expression.
The Matches collection object supports the following two properties:
Data Type: Long
Indicates the number of objects in the collection. A value of zero indicates that the collection is empty. The property is read-only.
Data Type: Match object
Returns a particular Match object based on
index, its ordinal position in the
collection. Matches is a zero-based collection; that is, its
first member is at ordinal position 0, while its last member
is at ordinal position
See the example for the Match object.