title: Splitting columns using awk
body: <p>Hi I tried to split columns using <code>awk</code> command where in I have to use two separate characters for splitting the same column  "comma and colon"</p>
  
  <p>If My input file is like this</p>
  
  <pre><code> 0/1:121,313:4:99:123,0,104
  </code></pre>
  
  <p>I used : to split the column</p>
  
  <pre><code>echo "0/1:121,313:4:99:123,0,104" | awk '{split($0,a,":"); print a[2] a[3]}
  </code></pre>
  
  <p>I am getting this output</p>
  
  <pre><code>121,3134
  </code></pre>
  
  <p>However I only Need this output</p>
  
  <pre><code>121313
  </code></pre>
  
  <p>How to separate using both : and , ( Colon and Comma)</p>
  
  <p>And I dont want to use <code>awk -F</code> command cause this is part of larger tab delimited text file which I am workin on.</p>