查询文字替换标签
如何写一个小程式查询一个文件夹下的所有html文件里面的部门内容,然后把整个标签替换掉<img style="padding-left: 7px; padding-right: 3px;" src="/opencms/export/system/modules/com.cmo.module/resources/images/grey_arrow.jpg" alt=">" /><a href="/opencms/export/sites/CMOWebsite/about_us/executive_management/index.html_103827896.html">简体中文</a>
例如我把所有html文件中的简体中文搜索出来,然后把<img....>到<a>这一部分全部替换掉
--------------------编程问答-------------------- 具体的替换规则 --------------------编程问答--------------------
Regex.Replace(str,"(.*(?<=>)([^u4e00-u9fa5]*)(?=</a>).*)","${2}")
补充:.NET技术 , C#