小编Ale*_*lex的帖子

在PHP中搜索Google搜索结果

我想从搜索结果中获取链接.有人可以帮忙用正则表达式来做这个吗?我有这个,它不起作用:

 preg_match_all("/<h3(.*)><a href=\"(.*)\"(.*)<\/h3>/", $result, $matches);
Run Code Online (Sandbox Code Playgroud)

php regex

1
推荐指数
1
解决办法
2056
查看次数

标签 统计

php ×1

regex ×1