The input string, list or dictionary. If it is a list or a dictionary then the extraction will be done on all values.
The regex to use for extraction - only the groups in the regex will be extracted - or the zero group if none is defined.
Regex flags to use. Several flags can be used by concatenating them. Default: ism
.
i
= Case insensitive
s
= Match .
to any character, including newlines.
m
= Multi-line matching, affecting ^
and $
.