Skip to main content

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.
pattern
str | StringValue
required
index
int | IntegerValue
required

re.replace

Replace the matches of a regex pattern with a replacement string.
pattern
str | StringValue
required
replacement
str | StringValue
required
Returns True if the regex pattern matches a string and False otherwise.
pattern
str | StringValue
required

re.split

Split the expression using a regex pattern.
pattern
str | StringValue
required

re.upper

Return a copy of the expression with all characters uppercased.