title: Regexp to match file ending with Javascript
body: <p>I want to get the file endings from some files in a list.</p>
  
  <pre><code>&lt;a href="myfile.mp4"&gt;File 1&lt;/a&gt;
  &lt;a href="http://www.files.com/myfile.ogg"&gt;File 2&lt;/a&gt; 
  &lt;a href="myfile.mp3"&gt;File 3&lt;/a&gt;
  &lt;a href="http://www.site.com/myfile.jpg"&gt;File 4&lt;/a&gt;
  </code></pre>
  
  <p>Basically, the file endning could be anything, and the string can contain more than just one ".". So I need to fetch the ending only.</p>
  
  <p>I want to get a result that looks like:</p>
  
  <pre><code>mp4
  ogg
  mp3
  jpg
  </code></pre>
  
  <p>Thanks.</p>