🌈 搜索
📅  最后修改于: 2022-03-11 14:52:36.458000             🧑  作者: Mango
String input = "abcd"; Pattern p = Pattern.compile("regexp"); String output = p.matcher(input).replaceAll("replacement");