title: regex match quantifier for multiple sets
body: <p>I have the following regex</p>
  
  <p><code>^[^\s-#]+\s?[^\s-#]*[^\s-#]{2,32}#[0-9]{4}$</code></p>
  
  <p>Rules:</p>
  
  <ul>
  <li>format must be STRING#dddd , a string, followed by hashtag, followed by 4 digits</li>
  <li>the string cannot start or end with space or "-" or hashtag</li>
  <li>no double spaces</li>
  <li>the string must be between 2 and 32 chars long</li>
  </ul>
  
  <p>The above regex works. 
  The only rule i haven't managed to implement is the last one</p>