Amb*_*rex 7 php regex
我一直试图找出一种可以检测一系列文件的方法.例如:
如果给定目录包含以下文件:
我想把列表浓缩到类似的东西
我应该如何检测这些群体?
Art*_*kii 6
这是解决这个问题的一种方法,它比蛮力方法更有效.
preg_replace('/\d//g', $key)
你会有类似的东西 $arr1 = [Birthday001 => Birthday, Birthday002 => Birthday ...]
$arr1 = [Birthday001 => Birthday, Birthday002 => Birthday ...]
$arr2 = [Birthday => 2, ...]
归档时间:
16 年,11 月 前
查看次数:
973 次
最近记录: