dapatkah Anda menggunakan split javascript dengan lebih dari satu pemisah
> 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