title: Regular Expression replace ' - ' with '-'
body: <p>I'm not sure if this is a good place to ask questions like this, but I'll give a try :)</p>
  
  <p>I need help with RegExp. I'm trying to write expresion which will replace ['any number of spaces' + '-' + 'any number of spaces'] and replace it simply with '-'. So it's all about removing spaces if in the middle is placed '-'. </p>
  
  <p>So for example:</p>
  
  <pre><code>'something -  something' -&gt; 'something-something'
  </code></pre>