Vidyalelo
Python · Q9

Regular Expressions in Python

Programming · Python · question 9

Q9

How can you search for a specific pattern in a string using regular expressions in Python?

A.
By using the search() function from the re module
Answer
B.
By using the find() function
C.
By using the locate() function
D.
By using the match() function

Answer: Option A

Solution

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