My json string structure as below
...
}],"twitter":[{"id": .... blaa"}]}
...
I am trying to remove this part as below
Regex.Replace(_VarJson, string.Format("{0}.*?{1}", "\"twitter\":[{", "\"}]"), string.Empty)
But nothing removes. Where is my wrong?
Thank you in advance
Regex.Replacereturns the modified string.