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

Match

public class Match : Group
Represents the results from a single regular expression match.
public static Match Empty { get; }

Gets the empty group. All failed matches return this empty match.

public virtual GroupCollection Groups { get; }

Gets a collection of groups matched by the regular expression.

public Match NextMatch()

Returns a new Match object with the results for the next match, starting at the position at which the last match ended (at the character after the last matched character).

public virtual string Result(string replacement)

Returns the expansion of the specified replacement pattern.