in reply to Replace a set of characters

You really, really should show us the code that you have tried, what it outputs, and what you expected it to generate so that we can see where you are having trouble. So far you make it appear that you have done no work of your own at all and I'm sure you wouldn't want to give that impression would you?

Remember when you post code here to use code tags.


Perl is Huffman encoded by design.