Matches regex pattern
Input
| value |
|---|
Validate that value matches pattern '^HELLO'
validation:stringMatchesRegex
Ensure string field matches regex pattern
source:value
parameters
- pattern
Regex pattern to match
Output
| result |
|---|
| Pass |
| Pass |
| Pass |
| String field "value" does not match regex pattern "^HELLO" |
| String field "value" does not match regex pattern "^HELLO" |
| String field "value" does not match regex pattern "^HELLO" |
Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.
Ensure string field matches regex pattern.
Parameters
- pattern (string, required) — Regex pattern to match. Default:
"".
Field selection
- source — Field whose values this operation reads. Omit to apply to all fields on the row.
- target — Optional output field. When omitted, the source field is updated in place.
JSON Configuration
{ "id": "op-stringMatchesRegex", "type": "validation", "action": "stringMatchesRegex", "params": { "pattern": "^HELLO" }, "testInputs": [ "HELLO", "HELLO WORLD", "HELLO123", "123", "world", "12345" ]}