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

Capture

public class Capture
Represents the results from a single successful subexpression capture.
public int Index { get; }

The position in the original string where the first character of the captured substring is found.

public int Length { get; }

Gets the length of the captured substring.

public string Value { get; }

Gets the captured substring from the input string.