Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Pulling info out of html pagesby Bishma (Beadle) |
on Apr 08, 2002 at 19:29 UTC ( [id://157525]=perlquestion: print w/replies, xml ) | Need Help?? |
Bishma has asked for the wisdom of the Perl Monks concerning the following question:
Chances are something similar to this has been asked before, but after an hour of searching I decided just to ask since I'm apperantly not using the right search criteria.
I am in the process of writing new message boards for my website and I'd like to convert the old threads to the new system. The problem is the old threads are stored as html files and I need to pull a few specific pieces of info out to format for my db files (posters name, date, IP, and message). The coder of my origonal message boards was nice enough to comment each element. So what I need to be able to do is get all characters between certain tags. Something like this: So everything between the comment and the </B> should be saved and the rest discarded. I hope thats enough info. Thanks in advance
Back to
Seekers of Perl Wisdom
|
|