Have you ever considered using a Database or/and a Template system for this? I'd look at the DBI module and Template::Toolkit for this. After that it's a simple regex based on the hash (which I'm sure at least 3 regex solutions will be posted by the time I'm finished writing this).
In reply to Re: Character replacement
by kutsu
in thread Character replacement
by ashnator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |