I would like to replace some texts in StringBuilder. How to do this?
In this code I got java.lang.StringIndexOutOfBoundsException at line with mat
java.lang.StringIndexOutOfBoundsException
mat
Another issue with using StringBuidler.replace() is that that one can't handle capturing groups.