String: Explode to an array using a regular expression
Explodes a string based on a supplied regex.
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.