只需一步,快速开始
求助:怎么取出一段字符串中的链接把下面一段字符串中的href地址取出来:ahref="www.1.com"target="_blank"文章标题/aahref="www.2.com",如何取出一段字符串中的链接
文章标题 1-1 1-2 1-3
www.1.comwww.2.comwww.3.comwww.4.com
$s=<< 文章标题 1-1 1-2 1-3 txt; preg_match_all('#href="(.+?)"#s',$s,$m); echo '
首页
分类
索引
我的