PHP Pattern searching
<p>Im trying to search for nn/nnnnnn/nn in a file..</p>

<p>I have this</p>

<pre><code>if (preg_match_all("([0-9]{6})", $file, $out)) {
echo "Match was found &lt;br /&gt;";
print_r($out);
</code></pre>

<p>which deals with the centre 6 numbers but how do I get it to search for the whole pattern?
I get a little confused when i have to add the search strings together.
I know I have to do the following</p>

<p>([0-9]{2}) and / and ([0-9]{6}) and / and ([0-9]{2})</p>

<p>HOw do I add the search string as one?
Thanks in advance
Cheers
Mat</p>
