I need some help with regular expressions in javascript. I've got a string like:
var S = '["abc","defg", "hij"]';
How could I split it in javascript to get a[0]=abc, a[1]=defg, a[2]=hij?
Because var a = S.split(','); just give me a[0]=["abc" and so on.
Thank you very much.
var s = '["abc","defg", "hij"]';