How to split a JavaScript String by commas and dots?
<p>I want to split strings by commas and dots using javascript. For example, a string of <code>&quot;10,256,326.26&quot;</code> would turn into <code>[&quot;10&quot;, &quot;256&quot;, &quot;326&quot;, &quot;26&quot;]</code> after getting split.</p>
<p>Which regex can I use for this?</p>