Replace不区分大小写时间:2023-03-08 21:56:24 private string ReplaceNoCase(string text, string oldValue, string newValue) { return System.Text.RegularExpressions.Regex.Replace(text, oldValue, newValue, System.Text.RegularExpressions.RegexOptions.IgnoreCase); }