• 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.