For the complete documentation index, see llms.txt. This page is also available as Markdown.

IsMatchRegEx

Name

IsMatchRegEx

Syntax

IsMatchRegEx (String pattern, String str)

Purpose

To return true if the regular expression found a match in the string. Otherwise, returns false.

Description

Indicates whether the regular expression finds a match in a specified string value by returning a boolean value.

Return Type

Boolean

Parameters

pattern [System.String] – Regular expression pattern to match

str [System.String] – String to search for a match

Example

In this example, we will pass the required parameters to the function transformation object using a Variables object.

Where,

Pattern = {x,y}

String = A,2

In the output window, you can see that Astera has returned “False”, as the specified string does not match the specified pattern value.

Was this helpful?