我在练习一个采集程序但我不想取到 QQ旗下的网址 同时 又要把A标签中没有以http开头的URL找到来Pattern pa = Pattern.compile("<a[^>]*?(qq.com|[^(http)])[^>]*");
Matcher ma = pa.matcher(content);
while(ma.find()) {
System.out.println(ma.group());
}找出来的结果不要为<a href="http://py.qq.com">
<a href="tech/index.html">这个正则我写了许久也没有搞定