MATCH

Returns true if text contains the regex expression regex_to_match and false otherwise.

Syntax 

MATCH(text, regex_to_match)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "The quick brown fox jumps over the lazy dog. It barked."
4
}
5
}

Formula

MATCH(my_action.message, "[A-Z]")

Output

true

Example 2

Input

1
{
2
"my_action": {
3
"message": "the quick brown fox jumps over the lazy dog. it barked."
4
}
5
}

Formula

MATCH(my_action.message, "[A-Z]")

Output

false

Sample Actions 

Event transform
MATCH
Event transform
My Action

Select an action to inspect.

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?