<PackageReference Include="System.Text.RegularExpressions" Version="4.0.11-beta-23409" />

MatchCollection

Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string.
public int Count { get; }

Gets the number of matches.

public virtual Match this[int i] { get; }

Gets an individual member of the collection.

Provides an enumerator that iterates through the collection.