• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question - What is the difference between \Z and $ in Regular expressions?

Answer -

\Z -  Matches the end of the line. Not effecting the multiline mode.
Ex: Shiva\Z
Gummadidal Shiva
Regex classes by Gummadidal Shiva

$ - Matches the end of the line.effecting the multiline mode.
Ex: Shiva$
Gummadidal Shiva
Regex classes by Shiva. Shiva is good teacher
Thanks to Shiva

[[:upper:]] - Matches capital letters is equal to [A-Z].
Ex: GUMMADIDALA shiva From Hyderabad,India

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners