text text text
text text text
{test}
content
content
content
{/test}
text text text
text text text
上記の文字列から2つの別々の結果を取得する必要があります:
1。
{test}
content
content
content
{/test}
2.2。
content
content
content
したがって、上記の2つの結果を取得するには、PHPの2つの別個の正規表現パターンをどのようにする必要がありますか