• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question - What is Name matched sub expressions in Regular expressions?

Answer -

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

syntax : (?  subexpression)

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

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

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners