• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question - What is the difference between ([PQR]+) and  ([PQR])+?

Answer -

Both are matching PQR , 

-([PQR]+)  put PQR saved in first back reference.

 -([PQR])+ , first time P was saved , second time Q was saved and third time R was saved. + causes the pair of parenthesis to repeat three times. 

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners