title: how to match an arbitrary number of occurrences of a word with a regular expression
body: <p>How can you match multiple occurrences of a string with a regular expression? For example suppose I wish to match any of the following:</p>
  
  <pre><code>abc
  abcabc
  abcabcabc
  </code></pre>
  
  <p>and so on.</p>