note 101122 added to function.strip-tags

From: Date: Sun, 28 Nov 2010 03:30:22 +0000
Subject: note 101122 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-174405@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/101122 Del: integrated -- https://master.php.net/note/delete/101122/integrated Del: useless -- https://master.php.net/note/delete/101122/useless Del: bad code -- https://master.php.net/note/delete/101122/bad+code Del: spam -- https://master.php.net/note/delete/101122/spam Del: non-english -- https://master.php.net/note/delete/101122/non-english Del: in docs -- https://master.php.net/note/delete/101122/in+docs Del: other reasons-- https://master.php.net/note/delete/101122 Reject -- https://master.php.net/note/reject/101122 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174405) next »