How to prevent repeated replacement?
In some cases, the result of the replacement is incorrect
![[Image: GIF-2021-01-03-12-00-36.gif]](https://i.ibb.co/zfvdK8D/GIF-2021-01-03-12-00-36.gif)
When some strings repeat, this replacement method is not reliable. Is there a better solution?
In some cases, the result of the replacement is incorrect
![[Image: GIF-2021-01-03-12-00-36.gif]](https://i.ibb.co/zfvdK8D/GIF-2021-01-03-12-00-36.gif)
When some strings repeat, this replacement method is not reliable. Is there a better solution?