title: Java Regex - reduce spaces in a string
body: <p>I don't have time to get my head around regex and I need a quick answer.  Platform is Java.</p>
  
  <p>I need the string </p>
  
  <pre><code>"Some text   with  spaces"
  </code></pre>
  
  <p>...to be converted to</p>
  
  <pre><code>"Some text with spaces"
  </code></pre>
  
  <p>i.e., 2 or more consecutive spaces to be changed to 1 space.</p>