regex for href substitution

Robin Becker robin at jessikat.fsnet.co.uk
Tue Feb 18 17:44:44 EST 2003


I'm sure this must have been done before, but has anyone got a regex for
extracting/changing html href attributes. I've done this before with
htmllib, but it's been suggested that we can do this with re.

The application involves doing a special purpose forwarding proxy, so
perhaps someone has already done something similar.
-- 
Robin Becker




More information about the Python-list mailing list