core / transform / schema v1
Regex
Extract (with capture groups), replace, or test text with a regular expression.
Prerequisites
No connection prerequisite is declared for this node.
Parameters
| Parameter | Type | Description |
|---|---|---|
Operationoperation | select Required | Options: Extract: a match or capture group (extract), Replace (replace), Match: true / false (match) |
Input textinput | text Required Default: | |
Values to extractrows | regex_rows Optional | Add as many Name | Pattern rows as you need. Each is matched against Input above using the Flags below and becomes its own {{name}}. One node can hold several extractions; you don’t need a separate Regex node per value.Field conditions{
"visible": {
"key": "operation",
"values": [
"extract"
]
}
} |
Patternpattern | text Conditionally required | A JavaScript regular expression (no surrounding slashes).Field conditions{
"visible": {
"key": "operation",
"values": [
"replace",
"match"
]
},
"required": {
"key": "operation",
"values": [
"replace",
"match"
]
}
} |
Flagsflags | text Optional | e.g. g (all matches), i (ignore case). |
Replacementreplacement | text Optional | Use $1, $2… for capture groups.Field conditions{
"visible": {
"key": "operation",
"values": [
"replace"
]
}
} |
Also publish asoutputAs | text Optional | Give this node's {{result}} output a name of your own (e.g. "winners"), so downstream nodes can reference {{winners}} directly. Handy when another node also publishes {{result}}, Noria would otherwise silently use whichever one ran last. {{result}} keeps working unchanged either way. |
Inputs and outputs
Inputs
execute- Execute (input)
Outputs
done- Done (output)result- Result (output)matched- Matched (output)error- Error (output)
Output data schema
[
{
"key": "result",
"type": "any",
"label": "Result",
"description": "match → true/false · replace → the new text · extract → the first row’s capture"
},
{
"key": "matched",
"type": "boolean",
"label": "Matched"
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
decdc264cc0703ebdc7d9ca6f792a6e2d78ad0eba02c7f801a2af63a84f06311