Functions and their descriptions

Report a typo

Match the functions with their descriptions.

Match the items from left and right columns
re.match()
re.search()
re.findall()
re.split()
re.sub()
Searches for a pattern and replaces it with the specified piece of text
Returns all matches in a list
Checks whether a pattern is present anywhere in the string
Checks whether a pattern is present at the beginning of the string
Splits a string based on the pattern
___

Create a free account to access the full topic