title: IIS URL Rewrite - match pattern
body: <p>I'm trying to rewrite the path <code>folder1/folder2/folder3...</code>
  to d</p>
  
  <pre><code>efault.aspx?id=folder1/folder2/folder3
  (default.aspx?id={R:1}/")
  </code></pre>
  
  <p>I currently have the following pattern: <code>^([^/]+/?[^/]+/?[^/]+/?[^/]+)/$</code> which works ok with a 4-level deep folder structure. However, since the number of folders should vary, I'm wondering if there is a pattern that does not limit me to 'hardcode' to a number of folders in the URL.
  thanks</p>