using serverside regular expression in javascript
<p>I am validating website by writing serverside regular expression when i copy the same<br/> thing in javascript and try to validate its not happening a part of my code is as follows</p>

<pre><code>"^(https://)+\w+\.+\w" - //serverside validation working fine
document.getElementById('txtWebsite').value.match("^(https://)+\w+\.+\w") == null
</code></pre>

<p>how can i implement the same in client side validation          </p>
