Czy możesz użyć podziału JavaScript z więcej niż jednym separatorem
> var myString="this,is.a_test"
> console.log(myString.split(/[,._]/));
< ["this","is","a","test"]
//This uses a regular expression (contained in /foo/).
//It will match any character included in the [] set.
FireyDeath4