我有一个以这种格式出现多次变量的文本:
Example text will %%include%% these %%parameters%%
Run Code Online (Sandbox Code Playgroud)
我想用这个:
preg_match('/%%[\s\S]*?%%/i',$output, $matches);
但出于某种原因,我只得到第一场比赛,任何想法?
| 归档时间: |
|
| 查看次数: |
204 次 |
| 最近记录: |