<?php$str = "201309/22/120711ndvh1pkk1mmevy18.jpg";$mode = "/(\d+)\/(\d+)\/(\w+)\.(\w+)/i";$replace = "\1";echo preg_replace($mode,$replace,$str);?>正确是写法应该是?
1 回答
- 1 回答
- 0 关注
- 948 浏览
添加回答
举报
0/150
提交
取消