I've never used a regex before and I am looking to split up a file that has one or more JSON objects, the JSON objects are not separated by a comma. So I need to split them between "}{" and keep both curly braces. This is what the string looks like:
{id:"123",name:"myName"}{id:"456",name:"anotherName"}
I would like a string array like using string.split()
["{id:"123",name:"myName"}", "{"id:"456",name:"anotherName"}"]