using System.Text.RegularExpressions;
public string A {get;set;}
public static void Main()
A = "hello \"this\" is a test",
string input1 = JsonConvert.SerializeObject(tmp);
Console.WriteLine(JsonStringify(input1));
static string JsonStringify(string input){
var Matches = Regex.Matches(input, "\"[a-zA-Z]+\\s[a-zA-Z]+.*\"", RegexOptions.IgnoreCase);
foreach(Match match in Matches){
input = Regex.Replace(input,match.Value,"--ReplaceLatter--"+match.Index);
input = input.Replace(" ", String.Empty).Replace("\r", String.Empty).Replace("\n", String.Empty).Replace("\t", String.Empty);
foreach(Match match in Matches){
input = Regex.Replace(input,"--ReplaceLatter--"+match.Index,match.Value);