Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Search and replace HTML

by leocharre (Priest)
on Jan 20, 2010 at 13:51 UTC ( #818455=note: print w/ replies, xml ) Need Help??


in reply to Search and replace HTML

I'd look for a cpan module to parse html, one that will give me a list of a links. Consider HTML::LinkExtor, (subclass of HTML::Parser, therefore has all its methods).

Then I would iterate through that list and find the ones that match my criteria.

That's how I would *find* what I am changing. Regexing into html is hard.


Comment on Re: Search and replace HTML

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2015-07-02 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls