title: replacing spaces with chars
body: <pre><code>$subject = "Keep your    spacing   perfect!";
  </code></pre>
  
  <p>Print out <code>$subject</code> where replace any two spaces in a row '<code></code>' with a <code>-</code> and any single space '<code></code>' with a * so the example above prints:<br>
  <code>Keep*your--spacing-*perfect!</code></p>
  
  <p>**NOTE: there are four spaces in between "your" and "spacing" so there will be only two dashes and there will be three asterisks in between "spacing" and "perfect" and only one in between "keep" and "your".</p>
  
  <p>Im having  hard time with this question and I would like some help with this please</p>