Removing tags
Posted: Sun Jun 01, 2008 5:32 pm
I'm new to php and I'm working on an inline content manager. I've got a WYSIWYG editor, but when I pass it through (post) I'm wanting to remove any link tags (<link href="whatever.css" />) as well as any <style>[CONTENTS]</style> tags.
I know regular expressions is probably the way to go, but I can't seem to get it figured out. Any help would be greatly appreciated.
I know regular expressions is probably the way to go, but I can't seem to get it figured out. Any help would be greatly appreciated.