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

2007-10-06 Thread Stefan Behnel
sophie_newbie wrote: > 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 > "". > > I'm fairly stumped on how to do this? Maybe using regular expressions? from lxml import etree parser = etree.HTMLParser

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

2007-09-30 Thread Paul McGuire
On Sep 30, 10:39 am, sophie_newbie <[EMAIL PROTECTED]> wrote: > 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 > "". > > I'm fairly stumped on how to do this? Maybe using regular expressions? > > Thanks. >>>

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

2007-09-30 Thread William James
On Sep 30, 10:39 am, sophie_newbie <[EMAIL PROTECTED]> wrote: > 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 > "". > > I'm fairly stumped on how to do this? Maybe using regular expressions? > > Thanks. E:\R

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

2007-09-30 Thread Robin Becker
sophie_newbie wrote: > 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 > "". > > I'm fairly stumped on how to do this? Maybe using regular expressions? > > Thanks. > You should probably eat beautiful soup at