日期:2014-05-16 浏览次数:20625 次
$str = "{user:link islocal='1'} /2013/userup/100/131a2Z34-800.doc {/user:link}"; $preg = "#\{.*\}(.*)\{.*\}#iuUs"; preg_match_all($preg, $str, $matches); print_r($matches[1]);