Gossamer Forum
Home : General : Perl Programming :

HTML parsing

Quote Reply
HTML parsing
hi,
I am newbie to perl and i needed some help with parsing some HTML text.

My HTML tree looks like this:

html
head
body
h1
pre
....
h3......some text...</h3>...some more
text....<br>...more text.....<p><img.....>
h3
p



i am basically trying to extract text inside the first h3 tag...until the second h3 tag. (I dont need the <p> <img..> either)

i am able to get the text enclosed within the <h3>...</h3> tags...i am having trouble with text outside it...

thanks in advance

kiran
Subject Author Views Date
Thread HTML parsing hakiran 3964 Apr 1, 2003, 12:25 PM
Thread Re: [hakiran] HTML parsing
Paul 3792 Apr 1, 2003, 12:37 PM
Thread Re: [Paul] HTML parsing
hakiran 3788 Apr 1, 2003, 12:45 PM
Thread Re: [hakiran] HTML parsing
Paul 3784 Apr 1, 2003, 12:49 PM
Post Re: [Paul] HTML parsing
hakiran 3788 Apr 1, 2003, 6:05 PM