note 101117 added to function.strip-tags

From: Date: Sat, 27 Nov 2010 13:46:53 +0000
Subject: note 101117 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-174393@lists.php.net to get a copy of this message
i',m trying to strip <a href=...> tags from my html text. i've done that with: ....replace(/<a.*?.>/gi, "") but now, i want to remove all, except does having: <a href="javascript:;"... can someone help with that? tks ---- Server IP: 69.147.83.197 Probable Submitter: 95.136.41.240 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/101117 Del: integrated -- https://master.php.net/note/delete/101117/integrated Del: useless -- https://master.php.net/note/delete/101117/useless Del: bad code -- https://master.php.net/note/delete/101117/bad+code Del: spam -- https://master.php.net/note/delete/101117/spam Del: non-english -- https://master.php.net/note/delete/101117/non-english Del: in docs -- https://master.php.net/note/delete/101117/in+docs Del: other reasons-- https://master.php.net/note/delete/101117 Reject -- https://master.php.net/note/reject/101117 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174393) next »