Can we run a regex replace at render time?

I’ve created a new thread that captures the main results of this one, but should be easier to find if people are looking for how to create pretty fractions.