in reply to Using Hashes to replace values

I've been bashing at this for days without any luck

Show some code , see How do I post a question effectively?