$str='fdsfsaf1+1+1fdsafsaf'; preg_match_all("/1(\+1)+/", $str, $matches); print_r($matches[0]); //匹配结果为:Array ( [0] => 1+1+1 )
20,398
社区成员
19,656
社区内容
加载中
试试用AI创作助手写篇文章吧