• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question - What is CapturingGroup Regular expressions?

Answer -

-if you feel portion of the regex using later part of the regex then we use capturing groups.

-its represent with meta characters inside parenthesis and its repetitions represented with  \1 , \2 etc..

- its also called as Backreferencing

   (abcd)(efgh) \1\2 will match abcdefghabcdefgh 

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners