• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question - What is Backreferencing in Regular expressions?

Answer -

Backreferencing is a feature of regular expressions, it is used to match new text that is same as matched earlier in the expression.

[0-9]+  match all the digits 9334

([0-9])\1+   match only 9334

\1 represent the match which was matched ([0-9]) 

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners