title: Wildcard in MapPageRoute
body: <p>I have a webforms-project where I use System.Web.Routing.RouteCollection.MapPageRoute to rewrite URLs but I have a problem with a few dynamic URLs. My URL could look like this;</p>
  
  <pre><code>/folder/city-1-2-something.aspx
  </code></pre>
  
  <p>and the MapPageRoute for this looks like this</p>
  
  <pre><code>routeCollection.MapPageRoute("CompanyCity", "folder/city-{id}-{pid}-{title}.aspx", "~/mypage.aspx");
  </code></pre>
  
  <p>But I have realized that some URLs could look like this</p>
  
  <pre><code>/folder/city-2-2-something-something.aspx
  /folder/city-2-2-something-something-something.aspx
  /folder/city-2-2-something-something-something-something.aspx
  </code></pre>
  
  <p>and these are not cought correctly by my routing - the first example will end up with the results id = 2-2 and pid = something instead of id = 2 and pid = 2.</p>
  
  <p>The {title} is not important - only {id} and {pid} are used. I have several similar routes to specific folders, so as far as I can se I cannot use a catch all. But how can I fix this issue?</p>