Groups | Search | Server Info | Login | Register
Groups > alt.comp.software.seamonkey > #8437
| From | Richard Owlett <rowlett@access.net> |
|---|---|
| Newsgroups | alt.comp.software.seamonkey |
| Subject | Re: Purge *ALL* CSS from an HTML document |
| Date | 2026-02-10 07:42 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <10mfck9$3m3ka$1@dont-email.me> (permalink) |
| References | <10lfrgt$1c4kt$1@dont-email.me> <10lgb7c$1homn$1@dont-email.me> <10lgbh3$1hrch$1@dont-email.me> <10lgjml$1kknd$1@dont-email.me> <878qd15896.fsf@enoch.nodomain.nowhere> |
On 2/10/26 2:10 AM, Mike Spencer wrote: > Richard Owlett <rowlett@access.net> writes: > >> As I replied to David. I'm not sure my goal was clear in my original >> post. I rewrote it as: > I'm looking for a procedure that will >> accept an HTML file WITH >> > CSS and then output an "equivalent" HTML4 file with NO CSS. > > This is for a file you have on your own machine? Yes. > Load it in an editor > (emacs my choice) and create a macro that replaces an instance of > "<STYLE> [anything] </STYLE>" with "" and execute it as many times as > needed. Wont work in my case. The whole Bible is stored as >1400 HTML files and one CSS file in a single directory [there is a sub-directory handling fonts]. > And Perl regular expressions will do that, too -- you just > have to be sure to use the perl regex locution (the '?' after '+') > that makes matching "<STYLE>.+?</STYLE>" non-greedy. > > >
Back to alt.comp.software.seamonkey | Previous | Next — Previous in thread | Next in thread | Find similar
Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-01-29 08:40 -0600
Re: Purge *ALL* CSS from an HTML document "David E. Ross" <nobody@nowhere.invalid> - 2026-01-29 08:09 -0800
Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-01-29 12:08 -0600
Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-01-29 20:08 +0100
Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-01-29 20:13 +0100
Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-01-29 15:33 -0600
Re: Purge *ALL* CSS from an HTML document Mike Spencer <mds@bogus.nodomain.nowhere> - 2026-02-10 04:10 -0400
Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-10 07:42 -0600
Re: Purge *ALL* CSS from an HTML document "Paul B. Gallagher" <mozilla@pbg-translations.com> - 2026-02-10 23:07 -0500
Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-11 09:27 -0600
Re: Purge *ALL* CSS from an HTML document Dirk Fieldhouse <surname@gmx.net.plusremovethisandtherest.invalid> - 2026-02-12 14:38 +0000
Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-13 08:29 -0600
Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-02-13 16:50 +0100
Re: Purge *ALL* CSS from an HTML document Richard Owlett <rowlett@access.net> - 2026-02-14 05:04 -0600
Re: Purge *ALL* CSS from an HTML document Schugo <schugo@schugo.de> - 2026-02-16 18:28 +0100
Re: Purge *ALL* CSS from an HTML document Nuno Silva <nunojsilva@invalid.invalid> - 2026-03-02 08:46 +0000
csiph-web