Create a string array of all comments in a html file...



Hi, I'm wondering how i'd go about extracting a string array of all
comments in a HTML file, HTML comments obviously taking the format
"<!-- Comment text here -->".

I'm fairly stumped on how to do this? Maybe using regular expressions?

Thanks.

.



Relevant Pages

  • Re: How to make a script run every 10 minutes?
    ... > paste this text into a shell script and run it" format. ... > 2) Convert the Great Big HTML File of Everything from this format: ... but not frames and don't like interactive websites at all. ...
    (comp.os.linux.misc)
  • Re: How to make a script run every 10 minutes?
    ... paste this text into a shell script and run it" format. ... Convert the Great Big HTML File of Everything from this format: ...
    (comp.os.linux.misc)
  • Printing Invoices
    ... They will be printing to HP printers via IrDA. ... The problem is that I can't format and print my invoices. ... my HTML file to a format that the printer SDK could even use. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: HTML Markup
    ... 'Confirm file format conversion on open' ... When you then open the HTML file do you have 'HTML' on the list of choices and does that change the behavior using that choice? ... I'm using 2007 and have tried opening an HTML file which just opens with the ...
    (microsoft.public.word.docmanagement)
  • Re: add gridlines automatically to an openend xxx.html
    ... Select cells, Format, cells, border, ... ... > I have an html file that displays data in a table format. ... The html file name will vary (generated by Webview ...
    (microsoft.public.excel)