我试图在文件中搜索 nn/nnnnnn/nn..
我有这个
if (preg_match_all("([0-9]{6})", $file, $out)) {
echo "Match was found <br />";
print_r($out);
它处理中心 6 个数字,但我如何让它搜索整个模式?当我必须将搜索字符串添加在一起时,我有点困惑。我知道我必须执行以下操作
([0-9]{2}) 和 / 和 ([0-9]{6}) 和 / 和 ([0-9]{2})
如何将搜索字符串添加为一个?在此先感谢干杯垫