title: Regular expression to replace txt in Sublime text editor
body: <p>I have thousands of rows to edit so need to use regex.</p>
  
  <p>One row is something like this.</p>
  
  <pre><code>T1,1,Example Text1 Text
  T2,2,Example Text 2 Text
  T3,3,Example Text 3 Text3
  </code></pre>
  
  <p>I want to convert this data to like this.</p>
  
  <pre><code>{pid:T1,sid:1,name:"Example Text1 Text"},
  {pid:T2,sid:2,name:"Test Text1 Text"},
  {pid:T3,sid:3,name:"Content Text1 Text"},
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>I've tried to replace first and last characters using ^ &amp; $.
  but I want to convert ",1," to ",sid:1," and "Example Test" to "name:'Example Text'".</p>
  
  <p>Anyhelp would be appreciate.</p>