Regular Expression to Strip All Styling

This is a simple regular expression to find all styling inside an html doc.

style="[a-zA-Z\-: %;/0-9#]+"

Use it to find and replace to nothing.

Leave a Reply

You must be logged in to post a comment.