in reply to Matching HTML Comments
Because regular expression are prone not to work properly if there is any unexpected data, a lot of the monks (like tinita) will recommend you use something like Ovid's HTML::TokeParser::Simple to do this sort of thing. There is an example specific to dealing with comments in the documentation for the module.
I hope that helps.
--
Allolex
|
|---|