How to Match Regex in Flows
Step-by-Step: Matching Regex in Flows
Step 1: Add a Set Variable Step
Step 2: Select the Input Variable to Evaluate
Step 3: Use a JSONata Expression for Regex

Step 4: Test Your Expression

Step 5: Use the Output in a Conditional Step
Example Use Cases with JSONata Expressions
1. Email Validation
$boolean($match($, /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/))
2. Zip Code Check (U.S.)
3. Alphanumeric Code
Starts with a Specific Prefix
Last updated
Was this helpful?




