in reply to HTML to xHTML
Once again... ;--( Please do not use regexps to process HTML or XML. There is more to it than what you think.
So use modules like HTML::Parser or tools like tidy. Believe me it will save you a _lot_ of trouble. I think you have better things to do with your time than to write a proper parser! (if you don't then please read the specs... and reconsider your decision ;--)
|
|---|