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);
}
}
正则表达式 替换
最新推荐文章于 2023-03-10 21:39:42 发布