http://qs1969.pair.com?node_id=125686

2501 has asked for the wisdom of the Perl Monks concerning the following question:

I have a somewhat easy regex question, but I am very weak with regex so I am having a hard time trying to juggle the things I have to get done and researching what the heck I am doing wrong. I was hoping I could get some help.
lets say I bring a chunk of a web page into a script. The HTML basically looks like :
<HR> 1 is good<BR> useless data<BR> useless data<BR> useless data<BR> useless data<BR> <HR> 2 is not good <BR> useless data<BR> useless data<BR> useless data<BR> useless data<BR> <HR> 3 is good<BR> useless data<BR> useless data<BR> useless data<BR> useless data<BR> <HR> 4 is not good <BR> useless data<BR> useless data<BR> useless data<BR> useless data<BR> <HR>
What I need to do is grab anything between the horizontal breaks where it says "is good" and load all occurences of that data into some sort of data structure.
I can accomplish this task in a really ugly manner, but I figured it was about time to see the right way to do it.

Once again, I thank all of you for your time and patience.
2501