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."

 

 

© 2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support