How to remove/change font formatting for string?

urcrooks

New Member
how can I remove font type from string which is in database and saved with ckeditor?For example:\[code\]<div style="font-family: Tahoma; color: Red;">Foo FOooooo</div>\[/code\]I want to remove it or change it to Verdana for example.

I know I can use replace but font names can be different and I know I can use substring method. But is there any easy way to remove it?
 
Back
Top