hello
want to do the following - got a website where the content in mainly in iframes. the content comes from a wysiwyg editor.
then i filter out all the tags from word before inserting into the db:
$final_text = strip_tags($_POST['text'],'<b><a><i>');
when content gets placed from word links by default open in themselves (target="_self")
i need to change this to blank can i do it like this (i still suck at regular expressions but here goes-)
$final_text = ereg_replace(/'<a *. ?>/','/<a *. target="_blank" ?>/',$row['text']);
any help would be appreciated. is my idea correct?