• 0

Remove all FONT/CSS Formatting Tool?


Question

I have been given the task of redoing a couple websites at work.

The problem is that there is some really good content but it has been poorly formatted.

I am wanting to get rid of all of the CSS and Font tags and just keep the pure html tags like <p> and <h2> and such.

If you know of any tool that will do this please let me know.

Link to comment
https://www.neowin.net/forum/topic/360435-remove-all-fontcss-formatting-tool/
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  aitf311 said:
I have been given the task of redoing a couple websites at work.

The problem is that there is some really good content but it has been poorly formatted.

I am wanting to get rid of all of the CSS and Font tags and just keep the pure html tags like <p> and <h2> and such.

If you know of any tool that will do this please let me know.

586396381[/snapback]

If it's a reasonable ammount that needs the tags stripping you could write a regular expression in perl or whatever language you fancy to remove them.

Edit - bit redundant now!

  • 0

If you mean removing all CSS inside the HTML, the you need to preg_match for both the class and style attributes. Remove them and then you can start afresh with a new stylesheet and implementation.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Sure, I'm with you, but then again I don't run these companies and don't know all the details. As far as sales go, lots of MS software/services is sold through 3rd parties. I've always seen them for the longest time, they'll sell you the MS stuff and then also charge you a fee to act as direct support and so on.
    • It always makes me smile, when someone makes a statement that is talking for everybody. Trust me, just because you think no one wants it, does not make it true.
    • Windows 11 gets context menu changes, new accesibility features, and more in build 27881 by Taras Buria Microsoft has released a new Windows 11 preview build for Canary Channel Insiders. Build 27881 is now available for download with improved voice typing, speech recap in Narrator, context menu changes, some minor taskbar enhancements, and more. With today's release, voice typing received a new toggle that lets you turn off or on profanity filtering. This will let you say bad words without Windows 11 censoring them (or vice versa). You can find it by pressing Win + H and clicking the Settings icon > Filter Profanity. Narrator now has a new "Speech Recap" feature, which lets you access a transcript of everything that Narrator has spoken. To access this feature, press Narrator Key + Alt + X. You will find the last 500 strings of spoken content. If needed, you can export the transcript by pressing the Narrator key + Ctrl + X (copy to clipboard). Other changes in build 27881 include renewed security certificates, a new needy state pill on the taskbar (apps that require your attention), a reworked accessibility flyout with feature categories, a built-in image editor for the Share UI, and the ability to share files directly to apps that support Windows sharing (Right Click > Share with). The Settings app received a new section with frequently asked questions about your PC and its specs, and a redesigned printer rename UI. Here is the list of fixes: [General] Fixed an issue for Insiders on the previous build causing some of the text in Windows to not be using the correct characters, causing nonsense to display in places like Task Manager and more. This impacted characters outside of A-Z – including Chinese and accented characters in German and Polish. Fixed an issue where booting into safe mode wasn’t working, with a message saying “Something happened and your PIN isn’t available” for some people. [File Explorer] Fixed an issue where File Explorer would crash when tapping the View button with touch. [Start menu] Fixed an issue which was causing Start menu to crash on launch for some Insiders in the last few flights. [Taskbar] Fixed an underlying issue which was causing keyboard focus to get set to widgets in the taskbar on login, which could make widgets unexpectedly invoke. Fixed an issue which could cause the media controls in the preview windows for apps in the taskbar (that support it) to flicker. Fixed an issue where when using Tab and Shift + Tab to move keyboard focus around the taskbar, if you went backwards at least once you could get keyboard focus stuck on the taskbar frame, leading some screen readers to just say “pane”. Fixed an issue where WIN + CTRL + wasn’t working to cycle between windows of open apps for that position on the taskbar. [Input] Fixed an issue where typing Japanese with the touch keyboard might stop working after switching to typing with an English keyboard and back. Fixed an issue where voice typing wouldn’t start from the touch keyboard when using the Chinese (Simplified) narrow layout. Fixed an issue where when using the Symbols section of the touch keyboard, pressing the key to change pages might unexpectedly insert a character into password fields. [Settings] Fixed an issue where you couldn’t switch active hours from manually to automatic in Windows Update. Adjusted the location of the intensity and color boost sliders under Settings > Accessibility > Color Filters, so the color previews at the top of the page are visible while adjusting the sliders. [Voice access] Fixed an issue which was causing voice access crashes when using Spanish. [Other] Fixed an issue where if you clean installed Windows using the installation media, it would unexpectedly generate an empty Windows.old folder when you were done. Made another fix for Insiders unexpectedly seeing an Administrative Templates error message when opening Group Policy Editor. Here is the list of known bugs: [General] [IMPORTANT NOTE FOR COPILOT+ PCs] If you are joining the Canary Channel on a new Copilot+ PC from the Dev Channel, Release Preview Channel or retail, you will lose Windows Hello pin and biometrics to sign into your PC with error 0xd0000225 and error message “Something went wrong, and your PIN isn’t available”. You should be able to re-create your PIN by clicking “Set up my PIN”. We’re working on the fix for an underlying issue where the taskbar is unexpectedly not showing acrylic material after upgrading to the latest Canary builds. This is impacting a few other scenarios, leading to unexpected black or white in some UI. [NEW] The “Reset this PC” option under Settings > System > Recovery will not work after upgrading to Build 27881. You can still use the “Go back” option to roll back to the previous build or download the ISO for Build 27881 here to reinstall Windows. [Settings] [NEW] We’re investigating an issue in this build which may cause Settings to crash when opening microphone properties under Settings > System > Sound. You can find the announcement post here.
    • Companies are still reluctant to use full HDMI 2.1 FRL bandwidth ports and hide behind deceitful HDMI 2.1 TDMS which is nothing but HDMI 2.0 with a fancier name. I am pretty sure the wretched HDMI org will come up with another fancy naming scheme to bring all previous HDMI standards under 2.2 nomenclature. The next gen GPUs are at least 2 years away so lot can change at HDMI org.
    • Gears of War: Reloaded beta expanded following rocky start, adds more time and content by Pulasthi Ariyasinghe The original Gears of War is getting a fresh remaster later this year, but ahead of that, The Coalition is hosting a couple of multiplayer beta sessions to test out the returning features as well as new additions. While the first of these Gears of War: Reloaded technical tests just finished this weekend, all was not well with the experience, and the developer has now responded with a solution that should make fans happy. For many that logged in during the weekend looking to jump into the classic team deathmatch mode across the maps Gridlock, Raven Down, and Gold Rush, what actually faced them were matchmaking issues. Reports of not finding players to fill the 4v4 rounds and staying in the "Finding Opponents" stage were many. If a game did connect, there were also reports of major lag spikes, disconnections, and stutters, making the multiplayer unplayable. "We heard you," the development team said on a social media post. "More maps. More modes. More time." While the next session will still run from June 20 through June 22, nine more hours have been added to the upcoming play session, with the ending set for 9pm PDT. The content has also been expanded, with Execution coming to the competitive playlist, while Canals will be there as a new map. With that addition, the second weekend will carry classic Team Deathmatch as well as King of the Hill and Execution competitive modes across Gridlock, Raven Down, and Gold Rush maps. There don't seem to be any plans on making the weekend an open beta though, with the only ways of gaining access still being Xbox Game Pass Ultimate or PC Game Pass subscribers, Gears of War: Ultimate Edition digital owners, or having a Gears of War: Reloaded pre-order. Gears of War: Reloaded launches on PC, Xbox Series X|S, PlayStation 5, and Xbox Game Pass on August 26, 2025. It will also be a free upgrade to anyone who had purchased Gears of War: Ultimate Edition before May 5, 2025.
  • Recent Achievements

    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
    • One Month Later
      Karan Khanna earned a badge
      One Month Later
    • Week One Done
      Karan Khanna earned a badge
      Week One Done
    • First Post
      MikeK13 earned a badge
      First Post
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      695
    2. 2
      ATLien_0
      267
    3. 3
      Michael Scrip
      202
    4. 4
      +FloatingFatMan
      170
    5. 5
      Steven P.
      136
  • Tell a friend

    Love Neowin? Tell a friend!