RegexMatch Function - microsoft/MIMWAL GitHub Wiki

Syntax

bool RegexMatch(input:string, pattern:string)

Description

Returns a Boolean value indicating if the string matches the regex pattern.

Remarks

If the second input parameter (pattern string) is null, an exception is thrown.

Supported Version

1.0.0.0 and later

Examples

RegexMatch([//Target/DisplayName], "^Admin.*")

RegexMatch([//Target/DisplayName], ".*Admin$")