Help with text replacement plugin

If someone would like to help with this small but handy plugin, please let me know. I'll put my stuff on github then.

A well crafted gsub can do that easily.