title: Extract json object from wget request
body: <p>I want to do with php exactly the opposite of what James Nine was asking in <a href="https://stackoverflow.com/questions/19210714/php-how-to-extract-json-strings-out-of-a-string-dump">PHP: How to extract JSON strings out of a string dump</a>.</p>
  <p>That is to keep the json object(s) out from a large output from a wget request. I can't figure out what the regex should be, basically negate</p>
  <pre><code>~\{(?:[^{}]|(?R))*\}~
  </code></pre>