const input: string = "abc,defg;hijk|lmnop-qrst_uvwxyz";
// Match multiple separators: comma, semicolon, pipe, dash, underscore
const result: string[] = input.split(/[,\;\|\-_]/);
result.forEach((word: string): void => {
console.log(word);
});
/*
run:
"abc"
"defg"
"hijk"
"lmnop"
"qrst"
"uvwxyz"
*/