<h3><a uigs="pc_0_0_title" href="http://mp.weixin.qq.com/s?src=88888" target="_blank" data-share="http://weixin.sogou.com">国庆节,从“国”字说爱国</a></h3>
需要取http://mp.weixin.qq.com/s?src=88888 这个链接
下面是我自己写的,怎么都不行,谢谢啊!
preg_match_all('/<h3><a uigs=".*?" href="([\s\S]*?)">([\s\S]*?)target/is', $html, $arr);
代码用php,非常感谢