Match into groups

suggest change
public string Check()
{
    string input = "Hello World!";
    string pattern = @"H.ll. (?<Subject>W.rld)!";

    Match match = Regex.Match(input, pattern);

    // World
    return match.Groups["Subject"].Value;
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents