1.

Which one of the following regular expression matches any string containing zero or one p?(a) p+(b) p*(c) P?(d) p#I got this question by my school principal while I was bunking the class.I would like to ask this question from Strings and Regular Expressions in division Strings and Regular Expressions of PHP

Answer»

Right choice is (C) P?

The EXPLANATION: NONE.



Discussion

No Comment Found

Related InterviewSolutions