我需要在java中使用正则表达式操作从字符串中删除一个双字母.例如:PRINCEE - > PRINCE APPLE - > APLE
java regex string
java ×1
regex ×1
string ×1