• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question - What is lookahead in Regular expressions?

Answer -

It is working towords to the right to see if match is exist 

Positive Lookahead:

  • If successful match to the right 
  • positive lookahead is specified with ( ?=...)
  • Ex: (?=\d)  successful where digit comes right 

Negative Lookahead:

  • If successful not match to the right 
  • positive lookahead is specified with ( ?!=...)

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners