php采集正则表达式问题
2012-09-14 09:50:02 作者:ryuiu 浏览次数:0
我只想获取时间,正则应该怎么写啊!小弟正则完全不会
------解决方案--------------------
$s='
2012-09-14 09:50:02 作者:ryuiu 浏览次数:0
';
preg_match_all('#
(.*)#isU',$s,$m);
print_r($m[1]);
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn