title: VS 2010 C++/CLI .NET how find text from string with REGEX
body: <p>I want to get a part from string with <code>regex_search</code> in VS 2010 C++. </p>
  
  <p>Here is my current code that does not work:</p>
  
  <pre><code>String ^ str = "www.MyWeb.com/457812/now-tommorow.html";
  String ^ what = "([0-9]+)\\/.*.html";
  String ^ result;
  
  Regex ^ r = gcnew Regex(what);
  result = r-&gt;Match(str)-&gt;Value;
  </code></pre>
  
  <p>My result output is: <strong>/457812</strong></p>
  
  <p>I want that my result output <strong>SHOULD BE</strong> like this: <code>result = "457812/now-tommorow.html";</code></p>
  
  <p>Could anyone tell me why this does not work?</p>