首页
移动开发
物联网
服务端
编程语言
企业开发
数据库
业界资讯
其他
搜索
对手机号或者邮箱中间的部分进行****替换
其他
2018-05-23 11:11:45
阅读次数: 2
const ref = /(.{5}).+(.{2}.+)/g;
number = str.replace(ref,"$1****$2");
console.log(number)
const ref = /(.{1}).+(.{2}@.+)/g;
email =str.replace(ref,"$1****$2");
猜你喜欢
转载自
www.cnblogs.com/lr-blog/p/9075770.html
对手机号或者邮箱中间的部分进行****替换
影藏手机号和邮箱号(即将号码中间部分打***号)
Java验证【手机号】或者【邮箱】的方法
手机号、邮箱显示***
邮箱 手机号 验证
使用Python对手机号进行加密,超级简单
手机号正则替换
oracle替换手机号中间的4位为*号
用‘*’替换字符串中的手机号 固话 邮箱 QQ号码
java实现手机号,身份证号****隐藏中间部分
java手机号中间4位使用*替换
手机号中间4位数替换为*
Java处理手机号中间4位替换成*
python 如何将手机号中间四位替换成****
mysql替换字段里面的手机号中间四位为”*“
正则-把手机号中间4位替换成*
用户名如果是 邮箱或者手机号,对应邮箱不能改效果
手机号中间4位加*号
手机号中间用*号表示
手机号中间4位用*号
前端手机号中间为*号
手机号中间几位用*号代替
Word 查找替换高级玩法系列之 -- 替换手机号中间几位数字
手机号 电话号码 邮箱 验证
手机号/邮箱 用*替代实现
php 检查邮箱 和手机号
android 验证手机号或邮箱是否正确
js 手机号和邮箱正则匹配
正则(身份证,手机号,邮箱)
临时邮箱+临时手机号
今日推荐
AI小程序有哪些?AI小程序哪个好用?微信小程序AI写作叫什么?免费的ai小程序推荐 ai写作小程序推荐
灵办AI工具(科研学术,代码编程,学习辅导,图书报告)功能介绍
Linux内核源码分析(非常详细)零基础入门到精通,收藏这一篇就够了
【C++篇】启航——初识C++(上篇)
数据飞轮崛起:数据中台真的过时了吗?
828华为云征文——使用Flexus云服务器X实例CentOS镜像下创建MySQL服务器教程
阿里巴巴出品的6款AI神器,你用过几个?
【机器学习】多模态AI——融合多种数据源的智能系统
HashiCorp 创始人向 Zig 软件基金会捐赠 30 万美元
1-8 月我国软件业务收入 85492 亿元,同比增长 11.2%
零基础入门鸿蒙开发 HarmonyOS NEXT星河版开发学习
豆包MarsCode帮我2小时完成Go语言系统从开发、测试到部署全流程最佳实践,云IDE迁移PHP企业级项目最佳实践
周排行
Ubuntu+apache2+php5+mysql+phpmyadmin的php环境搭建
基于YOLOv3+Kalman-Filter实现Multi-target tracking
解释C++实例化类的指针类型中的new
苹果手机页面不兼容问题——mui
Python基础语法
javascript学习笔记一【预解释】
python内置函数 map
【Git】使用webstorm操作git
this与super关键字(一)
python list 使用技巧
每日归档
更多
2024-10-04(63)
2024-10-03(2)
2024-10-02(60)
2024-10-01(0)
2024-09-30(0)
2024-09-29(0)
2024-09-28(4)
2024-09-27(60)
2024-09-26(0)
2024-09-25(0)