21,893
社区成员




<?php
$str = "hello worldasdfasdni hao";
preg_match_all('/\[b\]([^\[\]]*)\[\/b\]/is', $str, $matches);
print_r($matches[1]);
?>
$str = "hello worldasdfasdni hao";
preg_match_all('/\[b\](.*?)\[\/b\]/is', $str, $match);
print_r($match[1]);
$str = "hello worldasdfasdni hao"
//分离这些..对