private string StringReplaceEvaluator(Match match) { int i = Convert.ToInt32(match.Groups["number"].Value); string r = ReplacedStrings[i]; if(!match.Groups["quote"].Success) r = r.Trim(new char[2]{'\'', '"'}); return r; }