我想知道如何在Java中替换字符串.
例如
String a = "adf?sdf";
如何更换和避免特殊字符?
java regex string
java ×1
regex ×1
string ×1