How to split a string at commas but ignore \,?
<p>I want to split string <code>http://some.com/\,brabra,400,500</code> into <code>['http://some.com/\,brabra', 400, 500]</code></p>

<p>I already tried this, but error because lookbehind is not support in js. 
<code>
'http://some.com/\,brabra,400,500'.split(/(?&lt;!\\),/g)
</code></p>

<p>Any other ideas to do this?</p>