Searching for specific HTML string using Python

Posted by Morpheous on Stack Overflow See other posts from Stack Overflow or by Morpheous
Published on 2010-04-04T21:02:56Z Indexed on 2010/04/04 21:13 UTC
Read the original article Hit count: 449

Filed under:
|

What modules would be the best to write a python program that searches through hundreds of html documents and deletes a certain string of html that is given. For instance, if I have an html doc that has <a href="test.html">Test</a> and I want to delete this out of every html page that has it.

Any help is much appreciated, and I don't need someone to write the program for me, just a helpful point in the right direction.

© Stack Overflow or respective owner

Related posts about python

Related posts about html