ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

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

Answer & Solution
Correct Answer: Option D
The given pattern is applied on the text given in the paranthesis.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.