title: How to Match with Regex "shortest match" in .NET
body: <p>I'm facing a problem with Regex... I had to match sharepoint URL.. I need to match the "shortest"</p>
  
  <p>Something like:</p>
  
  <pre><code>http://aaaaaa/sites/aaaa/aaaaaa/
  
  m = Regex.Match(URL, ".+/sites/.+/");
  </code></pre>
  
  <p>m.Value equals to the whole string...</p>
  
  <p>How can I make it match </p>
  
  <pre><code>http://aaaaaaa/sites/aaaa/
  </code></pre>
  
  <p>and nothing else??</p>
  
  <p>Thank you very much!</p>