Table of Contents

, ,

MATCHES

Description

Returns 'Yes' if the specified string matches the specified regular expression

Syntax

MATCHES (text, regex)

Cannot be used in the condition of a FIND action.

Parameters

Attribute of the Plain Text type or string constant or calculation producing text and a regular expression

Returns

Yes/No: 'Yes' if the text matches the regular expression.

Example

IF MATCHES (Customer.PhoneNo, '[0-9]') = 'No' THEN ... 

REPLACE_PATTERN, REPLACE_PATTERN2, INDEX_OF, EXACT