How do I split string using `if` condition and separator
<p>I have a variable in javascript with text separated with commas, for example:</p>

<p><code>var array = "hello,goodbye,test1,test2,1,90m tall";</code> [NO SPACE AFTER COMMAS]</p>

<p>If I use <code>.split(',');</code> the result is as follows:</p>

<pre><code>array[0] = hello
array[1] = goodbye
array[2] = test1 
array[3] = test2
array[4] = 1
array[5] = 90m tall
</code></pre>

<p>But I want this:</p>

<pre><code>array[0] = hello
array[1] = goodbye
array[2] = test1 
array[3] = test2
array[4] = 1,90m tall
</code></pre>

<p>How can I do it? I can imagine I have to add some special restriction but I don't know how...I also checked regex but...no success.</p>