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]+$.

Offline Support

This activity works when the device is offline.

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.

Version Information

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10