class L
{
public static void main(String args[])
{
checkTel();
}
public static void checkTel()
{
String tel="13996aa535bb800";
tel=tel.replaceAll("\\d{5,}","#");
System.out.println(tel);
}
}
正则表达式 替换
最新推荐文章于 2020-07-11 17:00:23 发布