JavaScript RegExp to PHP RegExp : <p>I have a RegExp for e-mail check on the user side in JavaScript like this:</p>

<pre><code>var uzorak = new RegExp("^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$");
</code></pre>

<p>and i would like to rename it to PHP RegExp for the server side check.</p>
