如何获取与http://plus开始的所有链接


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

我有一个pregmatch与以下搜索:

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

现在我如何重新格式化它来寻找像:

href="http://plus  

我不希望整个东西都被改变,只需要href的那一部分。

谢谢

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