Altair® Monarch®

 

Function: RegexIsMatch

DESCRIPTION

Scans the given string for a match to the given regular expression pattern.

SYNTAX

RegexIsMatch(string,pattern)

ARGUMENTS

string refers to the input text.

pattern refers to the regex pattern to match.

RETURN VALUE

Returns 1 if a match is found, 0 otherwise.

EXAMPLE

The expression RegexIsMatch([Department],"[A-Z]{1}[a-z]{3}\s") results in a value of 1 when this field contains the entry "Data Processing."