title: C# Regular Expression Look Ahead S
body: <p>I want to validate a <code>string</code> to see if it is at least 6 digits long and has at least 1 <code>int</code>.</p>
  
  <pre><code> string text = "I want to run 10 miles daily";
   string pattern = @"(?=\.*\d).{6,}";
   Match match = Regex.Match(text, pattern);
   Console.WriteLine(match.Value);
  </code></pre>
  
  <p>Please explain me why I am getting the below output:</p>
  
  <p><strong>"10 miles daily"</strong></p>