Error with pre_match
<p>I am still kinda noobie with pre_match. I am trying to get the pre_match used for a zip code this is the error I get when I go to the page.</p>

<p>Parse error: syntax error, unexpected '/', expecting T_VARIABLE or '$' in /home/valerie2/public_html/elinkswap/snorris/findstore.php on line</p>

<p>And this is my code:</p>

<pre><code>&lt;?php
    $zip;
    if (pre_match("/^[0-9]{5{$/", $zip)) {
        echo " The Zip code must be a 5-digit number.";
    }

?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
    &lt;meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /&gt;
    &lt;title&gt;Find Store&lt;/title&gt;
    &lt;style type="text/css" title="text/css" media="all"&gt;
        .error {
            color: #F30;
        }
        h3 {
            color: #00F;
        }
        body {
            background-color: # FFCF73;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form method="post" action="distance.php"&gt;
        &lt;p&gt;Zip: &lt;input type="text" name="zip" /&gt;&lt;input type="submit" name="submit" value="find!"/&gt;&lt;/p&gt;
    &lt;/form&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I know I did something wrong and I have been going through it and everything. I am just wondering if someone can help me understand what I am doing wrong.</p>
