Computer Science, asked by niyatee995, 1 year ago

How do I use capturing groups in Regex?

Answers

Answered by Anonymous
0

\huge\mathfrak{Answer}

Use Parentheses for Grouping and Capturing.

By placing part of a regular expression inside round brackets or parentheses, you can group that part of the regular expression together.

This allows you to apply a quantifier to the entire group or to restrict alternation to part of the regex.

Similar questions