private string StripStrings(string text) { return Regex.Replace(text, @"""[^""\\]*(?:\\.[^""\\]*)*""", @"""""", RegexOptions.Singleline); }