Changing format of a string
<p>Hello My question is that i will have a textarea which i want to paste the following</p>

<pre><code>[{"1173627548":{"methv":"dont know","q1":"-","q2":"-","q3":"U","q4":"-","comm":""}},{"1173627548":{"methv":"dont know","q1":"-","q2":"-","q3":"U","q4":"-","comm":""}}]
</code></pre>

<p>is there any way i can run a loop which allows me to manipulate the data individually so i  can update this to the database. so the first time i run the loop is get this:</p>

<pre><code>{"1173627548":{"methv":"dont know","q1":"-","q2":"-","q3":"U","q4":"-","comm":""}}
</code></pre>

<p>if possible i want to strip out the {'s and :'s and "s so i am left with the commas and the data. For example:</p>

<p>1173627548,methv,dont know.. etc</p>

<p>sorry if i am unclear with my question in any way.</p>
