0

I want to do with php exactly the opposite of what James Nine was asking in PHP: How to extract JSON strings out of a string dump.

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

~\{(?:[^{}]|(?R))*\}~

0 Answers0