title: Non greedy regex match, JavaScript and ASP
body: <p>I need to do a non greedy match and hope someone can help me. I have the following, and I am using JavaScript and ASP</p>
  
  <pre><code>match(/\href=".*?\/pdf\/.*?\.pdf/)
  </code></pre>
  
  <p>The above match, matches the first start of an href tag. I need it to only match the last href that is part of the <code>/pdf/</code> folder.</p>
  
  <p>any ideas ?</p>