--- title: "$MatchesRegex" ---
This is generated from the built in components of Otter 2024.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.

Returns true when the specified text matches the specified pattern; otherwise returns false.

Script usage:

$MatchesRegex(Text, RegexPattern)

Parameters:

NameDescription
TextThe text which will be evaluated by the regular expression.
RegexPatternThe regular expression pattern.