[eluser]TheFuzzy0ne[/eluser]
You should be able to do that easily enough with [url="http://www.php.net/strtr"]strtr[/url] or [url="http://www.php.net/preg_replace"]preg_replace[/url]. strtr would probably be easier, since you don't need any regexes, but it may not be 100% suitable.