[quote]3333[/quote]
匹配quote,然后把之间的内容都提取出来
用php~
[quote]3333[/quote]
匹配quote,然后把之间的内容都提取出来
用php~
只要quote中间部分的话
<code class="php">$matches = []; $re = "/\\[quote\\](\\S*?)\\[\\/quote\\]/"; $str = "[quote]3333[/quote]\n"; preg_match($re, $str, $matches); print_r($matches);</code>