How to split a string by multiple delimiters in PHP?

Viewed 44298

"something here ; and there, oh,that's all!"

I want to split it by ; and ,

so after processing should get:

something here

and there

oh

that's all!
4 Answers
Related