公告
财富商城
积分规则
提问
发文
2020-02-06 08:23发布
Juvenile、少年°
I want to replace with the 4~8 characters of a string with *,how to do it?
4~8
*
HelloWorld => Hell****ld
<?php $var="HelloWorld"; $pattern="/oWor/"; $replace="****"; echo preg_replace($pattern,$replace,$var); ?>
最多设置5个标签!