On Mon, Oct 27, 2008 at 7:32 AM, Brian <[EMAIL PROTECTED]> wrote: > Hello again > > Not too sure how to pose this question, but here goes. > > Working on an html page. > There are many blocks of code placed between <tr> and </tr> in the page. > > The block(s) I am playing with have seven lines of code placed between <tr> > and </tr>, (repeated a number of times throughout the page) but which have > specific differences to all the other blocks. The first being, each line in > this block contains the word scope. > The second being, none of the other blocks contain any of the following data > between ">" and "<"
Hi Brian, There is no need to reinvent the wheel, here. Parsing HTML is notoriously difficult, and other people have spent years on the problem. Take a look at HTML::Tree or HTML::TokeParser, for starters. HTH, -- jay -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org values of β will give rise to dom!