How can i get value with javascript regular expressions
<p>i have following text</p>

<pre><code>http://www.mydomain.com/#!/account/?id=17
</code></pre>

<p>and i am getting # with window.location.href which is giving me</p>

<pre><code>#!/account/?id=17
</code></pre>

<p>now i want to extract that id value with preg_match or any regular expression because that id value is dynamic...
actually i am loading data with jquery ajax...please let me know the exact expression for getting value of id...</p>
