title: How can i Select Everything In Url except filename and extension?
body: <pre><code>https://fire.vimeocdn.com/1485599447-0xf546ac1afe7bce06fa5153973a8b85b1c45051d3/159463108/video/499604330/playlist.m3u8
  </code></pre>
  
  <p>I want to <strong>Include Everything Except</strong> <code>playlist.m3u8</code> </p>
  
  <pre><code>(playlist.[^.]*)
  </code></pre>
  
  <p>is selecting "playlist.m3u8", i need to do exactly opposite.</p>
  
  <p>Here is an Demo. <a href="https://regex101.com/r/RONA65/1" rel="nofollow noreferrer">https://regex101.com/r/RONA65/1</a></p>