ss = ", (?:\S+\. )*"; sre = (document.all)?/, (\S+\. )*/:new RegExp(", (?:\\S+\\. )*"); // later on a = data.split(sre );