标签:col *** ace nbsp 隐藏 str span var div
var card=‘123845785238542307‘; var strcard=card.replace(/^(.{4})(?:\d+)(.{4})$/,"$1******$2");
js 身份证号隐藏中间数字
原文地址:https://www.cnblogs.com/gwkzb/p/13209560.html