title: Improve Regex to match font files in css files
body: <p>I'm trying to match font files that are contained in CSS files.
  The font files can have the following extensions : 
  And following format : </p>
  
  <pre><code>- url("../../../../fonts/font_awesome/fontawesome-webfont.ttf?v=4.6.3")
  - url("../../../../fonts/font_awesome/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular")
  </code></pre>
  
  <p>In this case the match should be :</p>
  
  <pre><code>../../../../fonts/font_awesome/fontawesome-webfont.ttf?v=4.6.3
  ../../../../fonts/font_awesome/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular
  </code></pre>
  
  <p>I have already made a regex that matches them successfully, however on using an online service, the regex returned to me a warning saying that it has a catastrophic backtracking, so I'm asking how can this Regex be better : </p>
  
  <pre><code>url\s*\(\s*\S(.+?\.(woff|eot|woff2|ttf|svg)\s*)\??\S+?\s?\)
  </code></pre>
  
  <p>Regex in action with the backtracking warning : <a href="https://regex101.com/r/KWsh1X/1" rel="nofollow noreferrer">https://regex101.com/r/KWsh1X/1</a></p>