AiondaAionda

Formula reference · Text and links

REGEXTEST

Test whether a regular expression matches any part of the text.

English · 23 November 2026

Review edition — editorial review is not yet complete.

Back to the function catalog

What it does

Test whether a regular expression matches any part of the text.

Syntax

REGEXTEST(text, pattern)

Square brackets mark optional arguments; omit the brackets. Separate arguments with commas, quote text and use a point for decimals.

Arguments, in order

ArgumentMeaning
textText to test.
patternJavaScript-style pattern, without / delimiters. Use ^ and $ to match the whole value.

Returns: Boolean (true/false).

Worked examples

Example 1

Formula

REGEXTEST("INV-1042", "^INV-[0-9]+$")

Result

true

Quotes in the result indicate text; \n indicates a newline. Date results use ISO notation. The application may display dates and numbers differently according to the selected field type and interface language.

Behaviour and limits

Invalid patterns return false. No separate flags argument is available.

Use it with your fields

Replace example values with the relevant field API names when needed. A record formula uses names such as amount; a flow expression uses its context, such as $Datensatz.amount. Use your actual API names and a compatible return type. See expression basics and flows.