title: Regex to replace multiple spaces with a single space
body: <p>Given a string like: </p>
  
  <pre>"The dog      has a long   tail, and it     is RED!"</pre>
  
  <p>What kind of jQuery or JavaScript magic can be used to keep spaces to only one space max?</p>
  
  <p>Goal: </p>
  
  <pre>"The dog has a long tail, and it is RED!"</pre>