title: Fetch a data from a string
body: <p>I have this as a string. I have get this using jquery and parsing it from a web page. </p>
  
  <p>I tried using jQuery.parseJSON and got the error <code>Uncaught SyntaxError: Unexpected token n</code>.</p>
  
  <p>I need to get "surl" and "imgurl" how can I get this?</p>
  
  <pre><code>{
      ns:"images",
      k:"5061",
      mid:"172E23D582B8C2A90F3FE9DC2B04A3ECD1D4F70F",
      surl:"http://polyhouse2011.wordpress.com/2011/05/16/safety-precautions-2/",
      imgurl:"http://polyhouse2011.files.wordpress.com/2011/05/safety_gear1.gif",
      ow:"480",
      docid:"608038082569896450",
      oh:"301",
      tft:"117",
      dls:"images,5487"
  }
  </code></pre>
  
  <p>Source of this string:</p>
  
  <pre><code>&lt;a href="#" q="{ns:"images",k:"5061",mid:"172E23D582B8C2A90F3FE9DC2B04A3ECD1D4F70F",surl:"http://polyhouse2011.wordpress.com/2011/05/16/safety-precautions-2/",imgurl:"http://polyhouse2011.files.wordpress.com/2011/05/safety_gear1.gif",ow:"480",docid:"608038082569896450",oh:"301",tft:"117",dls:"images,5487"}"&gt;&lt;/a&gt;
  </code></pre>