C# Regex to extract bug ID from Bugzilla JSON response
You want to say "any of these characters", so what you want is a character class.

However, if your task is actually to extract a key and value out of JSON, the right tool to use is not a string replacement hack, but a JSON parser.

In this case, the problem with


JsonConvert.DeserializeObject&lt;List&lt;string&gt;&gt;(Json)



… is that you're telling it to parse a key-value pair as a list.  What you want to do is deserialize a dictionary:

JsonConvert.DeserializeObject&lt;Dictionary&lt;string, int&gt;&gt;(Json)


Note that you should check the HTTP status code before trying to process the body of the result.