手机号显示格式157****4616

phone.replaceAll("(\\d{3})\\d{4}(\\d{4})", "$1****$2")

posted on 2016-04-08 09:34  james-roger  阅读(191)  评论(0编辑  收藏  举报