PHP基础PHP教程php框架JavaScript
asp.netAJAX正则表达式ASP
[quote]3333[/quote]匹配quote,然后把之间的内容都提取出来用php~
只要quote中间部分的话
$matches = []; $re = "/\\[quote\\](\\S*?)\\[\\/quote\\]/"; $str = "[quote]3333[/quote]\n"; preg_match($re, $str, $matches); print_r($matches);