re.extract

Return the specified match at index from a regex pattern.

The behavior of this function follows the behavior of Python’s match objects: when index is zero and there’s a match, return the entire match, otherwise return the content of the index-th match group.

re.replace

Replace the matches of a regex pattern with a replacement string.

Returns True if the regex pattern matches a string and False otherwise.

re.split

Split the expression using a regex pattern.

re.upper

Return a copy of the expression with all characters uppercased.