note 101118 rejected from function.strip-tags by danbrown
| From: | danbrown@php.net | Date: | Sat, 27 Nov 2010 16:28:28 +0000 |
| Subject: | note 101118 rejected from function.strip-tags by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174397@lists.php.net to get a copy of this message | ||
Note Submitter: neonisp at gmail dot com
----
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