Skip to main content
Regular Expressions (Regex) are sequences of characters that define a search pattern in text. You can use them to validate text based on complex criteria and match common text patterns like phone numbers and IP addresses. Regular expressions are both flexible and powerful, capable of matching virtually any text-based pattern you might want to include in a form. If you don’t want to check for specific patterns but want to narrow down inputs to numbers, you can enforce this validation by allowing only numbers in the input field. This will narrow down possible errors when providing postcodes, identifiers, or bank account numbers.

Validation of short text fields

When you create your form, you can decide what type of field input is allowed. To help you eliminate possible input errors, you can decide to enable field validation for the short text fields. Based on the type of input you expect, you can also create a customized message for users to see when they provide incorrect data.
For limitations in the supported regular expressions, see Syntax (external page). You can use this external page to test if your expression is correct.
Image showing validation field on the step setup page

Common regex examples

Note that the operation doesn’t support Pearl syntax in the editor. This means that look-around expressions such as: (?=...), (?!...), (?<=...), or (?<!...) are not supported. This refers to all positive and negative lookahead expressions and positive and negative lookbehind expressions.