title: preg_match "Text" "Mabye text" "Eight Numbers"
body: <p>I'm new to preg and hope someone out there can help me.</p>
  
  <p>I need to be able to match a text and then the next 8 consecutive digitals.</p>
  
  <p>Eg. I got this string:</p>
  
  <pre><code>$string = "Lorem ipsum dolor, consectetuer number in iis 12345678 qui"
  </code></pre>
  
  <p>What I need to get out of this string is <code>number 12345678</code>.</p>
  
  <p>I can only manage to get this out if it comes just after each other. For this I use this preg: </p>
  
  <pre><code>echo preg_match("/(number)\d{8}/", $string, $matches);
  print_r($matches);
  </code></pre>
  
  <p>Thanks for your help!</p>