JSFiddle - React, Tailwind, and code Playground
by hicurin
JavaScript
var str = "abc('x','y','zzz')";
// remove string before (
str = str.replace(str.slice(0, str.indexOf('(') + 1),'');
// remove the last )
str = str.substr(0,str.length - 1);
var strArray = str.split(',');