How to recreate this list to normal comma separated?
<p>I have the following string</p>

<pre><code>w[]=18&amp;w[]=2&amp;w[]=2[]=2
</code></pre>

<p>I want to create a jQuery function to make it comma separated like that:</p>

<pre><code>18,2,2,2
</code></pre>
