title: How to find all matches of a pattern in a string using regex
body: <p>If I have a string like:</p>
  
  <pre><code>s = "This is a simple string 234 something else here as well 4334
  </code></pre>
  
  <p>and a regular expression like: </p>
  
  <pre><code>regex = ~"[0-9]{3}"
  </code></pre>
  
  <p>How can I extract all the words from the string using that regex? In this case <code>234</code> and <code>433</code>?</p>