0 votes
in ReactJS by
What is Name matched sub expressions in Regular expressions?

1 Answer

0 votes
by
Matched string captured by sub expression by using name. Let you access this it by name  or number

syntax : (?<givne_name>  subexpression)

Ex : (?<Given_Name> \w+)   -> Capturing method syntax

Console.WriteLine(Match.Goups["given_name"].value);
...