title: Javascript - Regex access multiple occurrences
body: <p>I have this text</p>
  
  <pre><code>txt = "Local residents o1__have called g__in o22__with reports...";
  </code></pre>
  
  <p>in which I need to get the list of numbers between each <code>o</code> and <code>__</code></p>
  
  <p>If I do</p>
  
  <pre><code>txt.match(/o([0-9]+)__/g);
  </code></pre>
  
  <p>I will get</p>
  
  <pre><code>["o1__", "o22__"]
  </code></pre>
  
  <p>But I'd like to have</p>
  
  <pre><code>["1", "22"]
  </code></pre>
  
  <p>How can I do that ?</p>