Regular Expression Matches Activity

Description

Determines whether the given text matches a regular expression.

Usage

Use this activity to perform pattern matching on text. For example, to check whether some text contains only alphanumeric characters you can use the pattern ^[a-zA-Z0-9]+$.

Inputs

Text

Required

Type: String

The text to search for a match.

Pattern

Required

Type: String

The regular expression pattern to match.

Ignore Case

Optional

Type: Boolean

Whether the search is case insensitive.

Multiline

Optional

Type: Boolean

Whether ^ and $ should match the start and end of each line.

Outputs

result

Type: Boolean

Whether the regular expression pattern found a match.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

Regular expressions