PHP实现按指定标识及长度替换字符串中的所有指定字符串 2022年06月24日 无聊的日记 51 次阅读 preg_replace('#/data/zblog/.{22}#u', '/data/wlog/', $data);