Regex reg = new Regex("<div[^>]*?class="类属性名称"[^>]*>(.*?) </div>");
此正则表达式套用即可,如果需要匹配多个则在</div>前面将<div[^>]*?class="类属性名称"[^>]*>(.*?) </div> 再写一遍 of course div也是可以更替的