🌈 搜索
📅  最后修改于: 2022-03-11 14:54:47.038000             🧑  作者: Mango
$str = 'before-str-after'; if (preg_match('/before-(.*?)-after/', $str, $match) == 1) { echo $match[1]; }