1.

The class that represents the regular expressions is ________(a) RegExpObj(b) RegExpClass(c) RegExp(d) StringExp

Answer» Correct answer is (c) RegExp

The explanation is: Regular expression is an object that describes a pattern of characters. The JavaScript RegExp class represents regular expressions, and both string and RegExp define methods that use regular expressions.


Discussion

No Comment Found

Related InterviewSolutions