php正则如何匹配:除(中文加冒号)格式之外的字符串?-灵析社区

来自武功山的爱

preg_match_all('/(?!.*[\x{4e00}-\x{9fa5}:]).*/u', $input, $matches);

阅读量:1

点赞量:0

问AI