求一句正则表达式 本帖最后由 mechille 于 2010-07-29 17:12:20 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?php$subject=' ';$re = preg_replace('/\[url=[^\]]*\](.*)\[\/url\]/is', "\\1", $subject);print_r($re);?> $str = "";preg_match("/\[img.*?\](.*?)\[\/img]/is",$str,$matches);print_r($matches); $str=preg_replace('/\[(\/)?url(=[^\]]*)?\]/is', "", $str); PHP+mysql实现二级级联下拉框的问题 关于淘宝联合登录接口,有谁做过,讨论一下 php求救 php wampserver mysql配置 北京招聘!!!PHP编码,设计 一个非常好用的PHP编辑器 查找一本有关计算机网络的书 各位哪里有php的函数帮助可以下载?中文的 使用php能否实现在线答疑? php环境下canvas.toDataURL()不执行 PHP如何实现站内订阅功能? 问一个PHP传参问题。
$subject=' ';
$re = preg_replace('/\[url=[^\]]*\](.*)\[\/url\]/is', "\\1", $subject);
print_r($re);
?>
preg_match("/\[img.*?\](.*?)\[\/img]/is",$str,$matches);
print_r($matches);