title: Ignoring an optional suffix with a greedy regex
body: <p>I'm performing regex matching in .NET against strings that look like this:</p>
  
  <pre>
  1;#Lists/General Discussion/Waffles Win
  2;#Lists/General Discussion/Waffles Win/2_.000
  3;#Lists/General Discussion/Waffles Win/3_.000
  </pre>
  
  <p>I need to match the URL portion without the numbers at the end, so that I get this:</p>
  
  <pre>
  Lists/General Discussion/Waffles Win
  </pre>
  
  <p>This is the regex I'm trying:</p>
  
  <pre>
  (?:\d+;#)(?&lt;url&gt;.+)(?:/\d+_.\d+)*
  </pre>
  
  <p>The problem is that the last group is being included as part of the middle group's match. I've also tried without the * at the end but then only the first string above matches and not the rest.</p>
  
  <p>I have the multi-line option enabled. Any ideas?</p>