I'm currently retrieving this back
":root{--[{\"name\":\"--font\",\"value\":\"Arial\"},{\"name\":\"--bg\",\"value\":\"black\"}]:;}"
I want this same output but with not backslashes or square brackets.
I've done gsub(/\[/,'')
but it's not getting rid of the right square bracket. I know adding a right bracket after the left will mean something totally different with regex.