1.

Consider the following statement containing regular expressions   var text = "testing: 1, 2, 3";    var pattern = /\d+/g;   In order to check if the pattern matches, the statement is

A. text==pattern
B. text.equals(pattern)
C. text.equals(pattern)
D. pattern.test(text)
Answer» E.


Discussion

No Comment Found