String str = "aaa123bbb321"; str = str.replaceAll("([a-z]+)(\\d+)([a-z]+)(\\d+)", "$3$2$1$4");
62,620
社区成员
307,251
社区内容
加载中
试试用AI创作助手写篇文章吧