ClassExtend.cs
494 字节
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BLL
{
public static class ClassExtend
{
public static string ReplaceIC(this string msgs, string org, string dst)
{
if (string.IsNullOrEmpty(dst))
dst = "";
return Regex.Replace(msgs, org, dst, RegexOptions.IgnoreCase | RegexOptions.Multiline);
}
}
}