Remove css tags all at once??
Remove css tags all at once??
Out of context: Reply #7
- Started
- Last post
- 7 Responses
- doctor0
With a little scripting you could easily find all the inline styles and edit or remove them.
In PHP you could use the file_get_contents() function and a regular expression like this to search for the styles: style=\"([a-z0-9... ])+\"$
(The regexp could be prettier, but it does the job -- I just slapped it together in a sec)