[thelist] Word to HTML

Bob Davis bobd at members.evolt.org
Tue Nov 7 08:22:01 CST 2000


on 11/7/00 5:52 AM, martin.p.burns at uk.pwcglobal.com at
martin.p.burns at uk.pwcglobal.com wrote:

> 
> Word 97's "Save as HTML" isn't too bad - the only thing to watch out for are
> <font> tags, which are easy to strip out.

Here's a regular expression that will do just that:

Kill Font Tags
<[\/]*FONT[^>]*>

Replace with nothing (works in BBEdit at least.)

 IIRC, Word 97 uses upper case for tags.  I've used this pattern many times
- it's in my saved grep patterns.

bob


-- 

bob davis
bobd at members.evolt.org





More information about the thelist mailing list