Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

[PHP] Re: How to strip off all html-comments From: Mike Eheler (meheler <email protected>)
Date: 12/31/01

Checkout the preg_replace page in the PHP manual (at
http://www.php.net/manual/en). There is an example there on removing all
HTML tags. You can just modify it to work on just comments.

Mike

Martin wrote:

> Hello! How can I easily strip off all html-comments (<! Comment >) from
> a string?
>
> Martin
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>