title: Replacing, regex, javascript
body: <p>Got this string: </p>
  
  <pre><code>'test',$, #207
  </code></pre>
  
  <p>I need to remove spaces which have a commma before</p>
  
  <p>So the result will be: <code>'test',$,#207</code></p>
  
  <p>Tried this:</p>
  
  <pre><code>  replace(/\/s,]/g, ',')
  </code></pre>
  
  <p>Not working. Any ideas?</p>