$str = "引用\t\nabc\t\n"; $result = preg_replace("/\s*\[quote\][\n\r]*(.+?)\[\/quote\]\s*/is","\\1",$str); echo $result;
\t\nabc\t\n
abc
要认真阅读手册
什么意思?看不明白
20,360
社区成员
19,659
社区内容
加载中
试试用AI创作助手写篇文章吧