Functions and applications

Report a typo

Match the regexp functions with suitable applications.

Match the items from left and right columns
re.findall(pattern, string)
re.sub(pattern, replacement, string)
re.match(pattern, string)
re.search(pattern, string)
Checking whether an email starts with a proper character
Replacing whitespaces with a single space
Checking whether a string contains a date
Collecting ID numbers
___

Create a free account to access the full topic