Use ReplaceSupport product: http://www.zope.org/Members/shh/ReplaceSupport/ I haven't tested this product, but the patch I tried -whom this release is based on- used to work fine. Ausum ----- Original Message ----- From: "Zope" <zope@halfmagic.com> To: <zope@zope.org> Sent: Thursday, September 06, 2001 11:59 PM Subject: [Zope] Global Search & Replace inside DTML Documents
I've imported a bunch of files created in (ugh) FrontPage. They're riddled with extraneous and unpleasant font tags. I've reached the point where I'd love to simple nuke ALL font tags that live in DTML Documents. I can write the regular expressions that do this, does anyone have a quick code snippet that illustrates how to walk all of the subfolders of a given Zope folder, perform some kind of transformation on each DTML Document contained in the folder, then save out the new version?
TIA,
Howard Hansen http://howard.editthispage.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )