in matcher.replace method,how to limit replace times?

后端 未结 2 673
陌清茗
陌清茗 2020-12-06 22:50

in matcher.replace method,only has: replaceFirst() and replaceAll() two methods

i want limit replace 3 times,how to do?

<
2条回答
提交回复
热议问题