1.

[:alpha:] can also be specified as ________(a) [A-Za-z0-9](b) [A-za-z](c) [A-z](d) [a-z]I have been asked this question in an interview for job.This question is from Strings and Regular Expressions in division Strings and Regular Expressions of PHP

Answer»

The correct OPTION is (b) [A-za-z]

The EXPLANATION is: [:alpha:] is nothing but LOWERCASE and uppercase alphabetical CHARACTERS.



Discussion

No Comment Found

Related InterviewSolutions