note 101118 added to function.strip-tags
| From: | neonisp at gmail dot com | Date: | Sat, 27 Nov 2010 13:53:42 +0000 |
| Subject: | note 101118 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174394@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/101118
Del: integrated -- https://master.php.net/note/delete/101118/integrated
Del: useless -- https://master.php.net/note/delete/101118/useless
Del: bad code -- https://master.php.net/note/delete/101118/bad+code
Del: spam -- https://master.php.net/note/delete/101118/spam
Del: non-english -- https://master.php.net/note/delete/101118/non-english
Del: in docs -- https://master.php.net/note/delete/101118/in+docs
Del: other reasons-- https://master.php.net/note/delete/101118
Reject -- https://master.php.net/note/reject/101118
Search -- https://master.php.net/manage/user-notes.php