BitServer.Program.stripQuoted C# (CSharp) Method

stripQuoted() private static method

private static stripQuoted ( string input ) : string
input string
return string
        private static string stripQuoted(string input)
        {
            var occurences = new Regex(@"=[0-9A-F]{2}", RegexOptions.Multiline);
            var matches = occurences.Matches(input);
            foreach (Match match in matches)
            {
                char hexChar = (char)Convert.ToInt32(match.Groups[0].Value.Substring(1), 16);
                input = input.Replace(match.Groups[0].Value, hexChar.ToString());
            }
            return input.Replace("=\r\n", "").Replace("= \r\n", "");
        }