开发者

how to fetch all the links starting with http://plus

I have a pregmatch with the following search :

   $regexp = "&l开发者_运维技巧t;a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>";

now how can I reformat this to look for something like :

href="http://plus  

I dont want the entire thing to be changed , just that part for the href.

Thanks


$regexp = "<a\s[^>]*href=(\"??)(http:\/\/plus[^\" >]*?)\\1[^>]*>(.*)<\/a>";

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜