正则表达式 2018-05-20 本文已影响0人 非文666 //将电话号部分隐藏 String userName = order.getBookingUserPhone().replaceAll("(\d{3})\d{4}(\d{4})", "$1****$2");