Vidyalelo
Python · Q15

Regular Expressions in Python

Programming · Python · question 15

Q15

How can you extract a group from a matched regular expression in Python?

A.
By using the group() method on the match object
Answer
B.
By using the extract() function
C.
By using the re.extract() method
D.
By using the group keyword

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board