title: Getting last part of URL into variable with Url Rewriter
body: <p>I'm using Url Rewriter to create user-friendly URLs in my web app and have the following rule set up</p>
  
  <pre><code>&lt;rewrite url="/(?!Default.aspx).+" to="/letterchain.aspx?ppc=$1"/&gt;
  </code></pre>
  
  <p>How do I replace $1 so that it is the last part of the URL?</p>
  
  <p>So that the following </p>
  
  <blockquote>
    <p>www.mywebapp.com/hello</p>
  </blockquote>
  
  <p>would transform to</p>
  
  <blockquote>
    <p>/letterchain.aspx?ppc=hello</p>
  </blockquote>
  
  <p>I've read the docs but can't find anything.</p>