I have a pretty long string that looks something like
I want to convert this to a valid json string like
I started looking at the
replaceAll(String regex, String replacement) method on the string object but i'm struggling to find the correct regex for it.
Can someone please help me with this.