Regex to replace tr tag with th tag anywhere in html file
What should be the regex for replacing a tr tag with a th tag for the table tag anywhere in 开发者_运维知识库an HTML file ?
Regex.Replace(html, @"(?<=<(/)?)th(?=[\s>])", "tr", RegexOptions.IgnoreCase);
加载中,请稍侯......
精彩评论