preg_match() error
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6270004/converting-ereg-expressions-to-preg">Converting ereg expressions to preg</a>  </p>
</blockquote>



<p>I downloaded the Ocomon and edit the languages ​​appeared: <strong>Deprecated: Function ereg() is deprecated</strong>. So, I researched and talked about what I should change for preg_match (), but gave the following error: <strong>Delimiter must not be alphanumeric or backslash</strong>.</p>

<p>The code is this:</p>

<pre><code>ereg("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$",$email)
</code></pre>
