0

Here is my idea, I want to create a tool that can create static html pages, out of php pages, perhaps generated by a cms.

Then I want to use some kind of regex, or clean tool, to reorganize the html to generate a cleaner, more standardized, yslow compliant html pages.

I may asking for what does not exist, if so, any suggestions for a close cousin solution?

Thank you for your time.

crosenblum
  • 1,869
  • 5
  • 34
  • 57

1 Answers1

0

Take a look at Tidy: http://php.net/manual/en/book.tidy.php

Works great for cleaning up html.

Not regex but an extension.

Martin Samson
  • 3,970
  • 21
  • 25