Formatting
The splitter keeps what the pattern does not match. Pattern [,;]\s* against a; b,c returns the three strings a, b and c. The semicolons, the comma and the space after the semicolon are the separators, and they are not in the list. That is the opposite of the extractor, which would have returned the separators and dropped the words.
Flags default to gu, and g is added if you omit it so the split does not stop after the first separator. The result is JSON array, including empty strings when two separators sit next to each other or the text starts with a separator. Those empty entries are information: they mean a blank field, not a glitch to be trimmed automatically.
A pattern that matches an empty string can loop forever in some engines. JavaScript’s split has its own rules there. If the result looks longer than the text, the pattern is matching zero-width positions. Narrow it.
Text a; b,c. Pattern [,;]\s*. Flags gu.
[ "a", "b", "c" ]
Empty fields stay in the array. Dropping them would hide a blank column in the original line.
They matched the pattern, so they are separators. The extractor is the page that returns matches instead of the text between them.
The first element is an empty string. That empty entry is the blank field before the comma.
Yes, if your flags do not already include it. A non-global split would cut only once.
Not here. The result is only the pieces between matches. Use the tester if you need to see both the matches and where they sat.