note 9042 added to ereg_replace
| From: | mshea at wizard dot net | Date: | Fri, 13 Oct 2000 00:30:00 +0000 |
| Subject: | note 9042 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6425@lists.php.net to get a copy of this message | ||
My dumb ISP (Actually very good, but behind the times) doesn't use the version of PHP that has
either the strip_tags function or the preg functions. I need a ereg_replace function that will go
through a string and pull out all HTML tags except for A, B, I, Blockquote, BR, and P. Any ideas?
http://www.php.net/manual/function.ereg-replace.php