Perl Monk, Perl Meditation | |
PerlMonks |
Parsing web pages (sort of)by MrDoney (Initiate) |
on May 25, 2000 at 19:16 UTC ( [id://14771]=perlquestion: print w/replies, xml ) | Need Help?? |
MrDoney has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I've got a kind of dopey question..
I'm referring into a web page which contains some useful data.
What I need to do is parse out the useful strings (about five of them) from the html,
I'm sure this should be easy, because each of these strings begins with the characters ' DE', followed by a six-character figure.
How do I do it? My thinking has been along the lines of:
perl -w 'm/\bDE\d+/g' mypage.html - undortunately it doesn't bleedin' work, and I'm stumped..
Back to
Seekers of Perl Wisdom
|
|