in reply to HTML Entities RegEx

Use HTML::Parser to find the stuff that falls inside a textarea. Then, apply your regex. (Better is to use the various encode functions that come with CGI and friends).

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested