title: Regex extract string after the second "." dot character at the end of a string
body: <p>I want to extract the second "file extension" of a file name so:</p>
  
  <pre><code>/Users/path/my-path/super.lol.wtf/main.config.js
  </code></pre>
  
  <p>What I need is:</p>
  
  <pre><code>.config.js
  </code></pre>
  
  <p>What would be totally awesome if I got an array with 2 strings in return:</p>
  
  <pre><code>var output = ['main', '.config.js'];
  </code></pre>
  
  <p>What I have tried:</p>
  
  <pre><code>^(\d+\.\d+\.)
  </code></pre>
  
  <p>But that ain't working.</p>
  
  <p>Thanks</p>