I have a long string which should be seperated on multiple delimiters. The delimiters are in an array. The delimiters are groups of words. Is the some nice short version to do that? The result should be in an array in the end.
Thanks!
Use preg_split function. It accepts regex as first argument and your regex can OR multiple expressions