$preg='/<a .*?href="(.*?)".*?>/is';
 preg_match_all($preg,$str,$array2); 
for($i=0;$i<count($array2[1]);$i++)//逐个输出超链接地址

{

  echo $array2[1][$i]."<br />";

}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
猜你喜欢
  • 2022-12-23
  • 2022-01-14
  • 2021-08-17
  • 2022-12-23
  • 2021-07-06
  • 2021-05-22
相关资源
相似解决方案