Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Answer: How do I remove a specific keyword from a HTML page

by kvale (Monsignor)
on Aug 01, 2002 at 16:24 UTC ( #186824=categorized answer: print w/replies, xml ) Need Help??

Q&A > regular expressions > How do I remove a specific keyword from a HTML page - Answer contributed by kvale

When trying to extract useful bits from HTML, a good general strategy is to use HTML::Parser to decompose HTML into its constituent elements and extract the parts you want with event handlers.

-Mark

  • Comment on Answer: How do I remove a specific keyword from a HTML page
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
Discipulus is Corion reading 'Gory details of parsing quoted constructs'?..
[perldigious]: That's awesome erix. One of my work friends, who coincidentally convinced me to learn Perl originally, has a Finnish pen-pal. I showed him this and he immediately wanted to send it along to her.
[perldigious]: Also coincidentally, I'm currently in the middle of a winter storm that has dropped 1 foot of snow and is expected to drop another. I might have to adapt this for customers/vendors who come visit and put it at the beggining of every presentation I give.
[Discipulus]: the photo was removed... Cyrano de Berjerac was not of the same idea..

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2016-12-06 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.