use*_*437 3 php regex
我有一个以这种格式出现多次变量的文本:
Example text will %%include%% these %%parameters%%
我想用这个:
preg_match('/%%[\s\S]*?%%/i',$output, $matches);
但出于某种原因,我只得到第一场比赛,任何想法?
HBv*_*Bv6 6
使用preg_match_all因为您需要多个匹配项.
归档时间:
13 年,5 月 前
查看次数:
204 次
最近记录: