--- title: "@RegexFind" ---
This is generated from the built in components of Otter 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Finds all matches of a regular expression in a string, optionally returning only a matched group.

Script usage:

@RegexFind(Text, MatchExpression, [MatchGroup])

Parameters:

NameDescription
TextThe string to search for replacements.
MatchExpressionThe regular expression used to search the first argument.
MatchGroupWhen specified, the name or index of each match subexpression to return instead of the entire match.