title: RegEx - How to select the second comma and everything after it
body: <p>I'm using UltraEdit. I have a text file that contains strings like this</p>
  
  <pre><code>Workspace\\Trays\\Dialogs\\Components, Expand, kThisComputerOnly, P_BOOLEAN },
  WebCommonDialog Sign_Out, Left, kThisComputerOnly, P_INTEGER_RANGE(0, 4096) },
  ThreeDTextDlg, x, kThisComputerOnly, P_INTEGER_RANGE(0, 4096) },
  Preferences\\Graphics, CtxDbgMaxGLVersionMajor, kThisComputerOnly, P_INTEGER },
  </code></pre>
  
  <p>UltraEdit allows PERL, UNIX and UltraEdit style RegEx. 
  I need to select the second comma and everything to the end of the line and delete it. </p>
  
  <p>Using regexpal.com I've tried several different approaches but can't figure it out.</p>
  
  <pre><code>/,\s.+/ selects the first comma
  /[,]\s.+/ same as above
  </code></pre>
  
  <p>I can't figure out how to select the second command and beyond.</p>
  
  <p>I have also search StackOverflow and found several examples but couldn't change them to work for me.</p>
  
  <p>Thanks.</p>