|Perl: the Markov chain saw|
parsing with regexby 2501 (Pilgrim)
|on Nov 16, 2001 at 01:37 UTC ( #125686=perlquestion: print w/replies, xml )||Need Help??|
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 :
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.
Back to Seekers of Perl Wisdom