Converting rows from one format to another format using linux tools : <p>let's consider following format of raws:  </p>

<p><code>| Node[42]{id:42} | Node[208813]{id:208813} | Node[292823]{id:292823} |</code></p>

<p>Is is possible to use Linux tools to map it into:<br>
<code>42,208813,292823</code>  </p>

<p>Where, these numbers are numbers gathered  from <code>[]</code>.<br>
Please note that I search for universal method for more columns,  for example:<br>
<code>| Node[42]{id:42} | Node[208813]{id:208813} | Node[292823]{id:292823} | Node[1]|</code>  into  </p>

<p><code>42,208813,292823,1</code>.<br>
Please note also that <code>{id:292823}</code> is optional (it is not mandatory).  </p>

<p>Can anyone help?</p>
