title: PowerShell: Parse CSV file and remove only the third comma
body: <p>I would to remove only the fifth comma in a CSV file and remove all additional space.</p>
  <p>i.e.
  Original file
  A,B100537     ,8438,TRUST                        ,VECCO 4 PORT USB 2.0 MINI HUB  ,BLACK                              ,0000000000000009.01,14591</p>
  <p>result
  A,B100537 ,8438,TRUST COMPUTER ,VECCO 4 PORT USB 2.0 MINI HUB BLACK ,0000000000000009.01,14591</p>
  <p>Code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>$x = Get-Content file.txt 
  
  $x | Foreach-Object {$_.Trim() -replace '^([^,]*,[^,]*,[^,]*,[^,]*,[^,]*),(.*)$', '$1 $2' -replace '\s+', ' ' }  |  Set-Content output.txt</code></pre>
  </div>
  </div>
  </p>