下面是一组链接,我想用正则匹配class为file的地址2,请问如何写正则表达式
<a href="地址1" target="_blank">名称1</a>
<a class="file" href="地址2" target="_blank">名称2</a>