php explode a string by array of delimiters code example Example: php explode multiple delimiters $output = preg_split('/(@|,|;)/', $input);