Skip to main content
Splits a single piece of text into a list, using a search pattern to decide where to break it apart. This is the flexible version of splitting text: instead of one fixed separator, you describe the separator with a pattern, so you can break on “any run of spaces”, “a comma or a semicolon”, or any mix of characters at once. Use it when your separators are inconsistent, such as values divided by commas, semicolons, and stray spaces all in the same field.

Fields

Sample data

FieldValue
Pattern/[\s,;]+/
Options(defaults, so empty items are dropped)
Input:
{ "tags": "red,  cotton ;summer" }
Output:
{ "tags": ["red", "cotton", "summer"] }