title: Regular expression checking for two consecutive spaces?
body: <p>I am trying to validate the following condition:<br>
  Characters allowed, Max length of 5: <strong>A-Z, 0-9, space and ('-</strong><br>
  and this is what I have got so far:</p>
  
  <pre><code>/^[a-zA-Z,\d,\-,\(,\']{1,5}$/;
  </code></pre>
  
  <p>How do I check for two consecutive spaces?</p>