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

What is the most essential purpose of parantheses in regular expressions ?

Answer & Solution
Correct Answer: Option B
When a regular expression is successfullyy matched against a target string, it is possible to extract the portions of the target string that matched any particular paranthesized subpattern. The essential purpose of parantheses in regular expressions is to define subpatterns within the complete pattern.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.