title: Find all regex matches of different extensions
body: <p>I have the following statement:</p>
  
  <pre><code>&lt;div&gt;&lt;img src="pict001.png"&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="pict002.jpg"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I'm trying to get a match of the src names, so that the result is:</p>
  
  <pre><code> [ "pict001.png", "pict002.jpg" ]
  </code></pre>
  
  <p>So far I have:</p>
  
  <pre><code>/pict[\d]+\.wpf/
  </code></pre>
  
  <p>but I’m having trouble with the or (|) on the file extension</p>