String validation with a pattern with php
<p>I need to check a string like <code>1234567 01-01-74</code> (without the quotes).</p>

<p>My string's first numeric value has to be 7 digits in length, followed by space, then a date string with <code>-</code> between the day, month and year digits.</p>

<p>How do I do that?</p>
