Please help me with this javascript preg_match
<p>How to retrieve this below values back through another javascript in the same website.</p>

<pre><code>user":"vishnu","locale":"IN"
</code></pre>

<p>I have the above value inside javascript... I want value of user and locale.</p>
