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.
Outputs
Examples
Literal separator
Regex separator
Split red,green,blue with a Separator Text of , to return:Connect Line Break as the separator to split text into lines. Split red, green; blue with a pattern of \s*[,;]\s* to accept either
punctuation mark and discard nearby spaces:
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.