How to use the the replace function within tags?

I also recommend you to become acquainted with the actions feature which among many other feature offers a normal Replace function:
/t/967/1