您好,欢迎访问一九零五行业门户网

php 正则处置 两个字符串间的数据

php 正则处理 两个字符串间的数据
?
?
$str=' this is my string{parent_id} hello';if( preg_match(/{(.+?)}/isu,$str,$res)) echo $res[1];#print_r($res);结果输出parent_id
其它类似信息

推荐信息