title: How can I match multiple sets of a regular expression pattern in the same string?
body: <p>I am building a regex against strings that meet the following requirements:</p>
  
  <ol>
  <li>The string has a maximum of 5 sets of alphanumeric characters.</li>
  <li>Each set within the string is separated by SINGLE whitespace character.</li>
  </ol>
  
  <p>For example, we can have "asa22d asdcac3" or "Asdcd234 sacasW2 sas1 s sd1" (hopefully you get the picture). So far I have:</p>
  
  <pre><code>^[A-z 0-9]\s{0,1}
  </code></pre>
  
  <p>I am not using <code>\w</code> because it allows underscores. This works for one set of characters, but I need to allow five sets of the same sort of strings separated by a space.</p>
  
  <p>How can I do that?</p>