I actually was hoping/searching for such a function numerous times.
The reason is probably at least twofold
A) I do not know much about regex
B) When developing code, I often clean/parse/amend strings in a stepwise manner (ie I may want to see the intermediate results on-screen (for selected elements).
Usually I don’t even have a for loop but simply a few lines with replace calls.
I guess that works just fine, but I also wondered why the function does not allow to submit multiple pairs