62,074
社区成员
发帖
与我相关
我的任务
分享
static void Main(string[] args)
{
string html=@"<a href='ddd' class='rrr' ddd>";
html=Regex.Replace(html,@"(?i)\b(type|src|href|class|div)\b",@"<font color='red'>${0}</font>");
Console.WriteLine(html);
Console.ReadKey();
}