Examveda

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

A. By using the group() method on the match object

B. By using the extract() function

C. By using the re.extract() method

D. By using the group keyword

Answer: Option A


This Question Belongs to Python Program >> Regular Expressions In Python

Join The Discussion

Related Questions on Regular Expressions in Python