Need some help. I’ve got a couple hundred txt files with some JSON in it but it’s buried inside some markup/code. I’m not a coder. I’m a statistician. And the data I need is the lines of JSON. The good news is that the JSON data is located between two unique strings that don’t appear anywhere else on the page. So right before the JSON I’ve got (quotation marks are mine):
"]
, "
Basically I need to be able to select and copy everything between those character strings. Or perhaps even more simply, just delete everything before (including) and after the character strings. That would prevent me from having to paste the copied text elsewhere.
I thought Sublime might be able to accomplish this, but I’ve played around with a couple of packages and it’s not as immediately obvious how I would do this, or how I would do this without knowing some regex (which I don’t; again outside of R, I’m not much of a coder).
So any suggestions or even just some existing plug or snippet that gets me close I can modify would be extremely helpful. Thank you.