Skip to content

RegexMatch Function

Nilesh Ghodekar edited this page Jan 30, 2016 · 3 revisions

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$")

Clone this wiki locally