The Regex Split block for Nodestly workflows splits text using a regex delimiter.
Use it when
Split bounded text with a non-empty safe regular-expression delimiter and explicit part limit.
Inputs and outputs
- Text —
text, required. - Pattern —
text, required. - Limit —
number, optional. - Parts — output
list.
Controls
- Case mode — default
sensitive; choices:sensitive,insensitive. - Line mode — default
single; choices:single,multiline.
Rules
The delimiter must consume at least one character, may repeat exact counted atoms but use at most one variable-width atom quantifier, and never inserts capture groups into the result. Limit is 1-1,000 parts; the final part contains the unsplit remainder.
Example
Pattern \s+ splits red green blue into three parts.
Failure behavior
Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
caseMode | Case mode | toggle | sensitive | options: Sensitive (sensitive), Insensitive (insensitive) |
lineMode | Line mode | toggle | single | options: Single line (single), Multiline (multiline) |
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | text — Text | text | yes |
| Input | pattern — Pattern | text | yes |
| Input | limit — Limit | number | no |
| Output | result — Parts | list | on success |
