Skip to main content
The Split Text action divides a string wherever a separator occurs and returns the pieces in order. Choose between a literal separator and a reusable regular expression.

Inputs

Outputs

Examples

Split red,green,blue with a Separator Text of , to return:
Connect Line Break as the separator to split text into lines.
A separator at the beginning or end produces an empty first or last item. Adjacent separators produce empty items between them.
Capturing parentheses in a regex separator add the captured separator text to the output list. Use non-capturing groups such as (?:,|;) when those values should not become list items.