php-general | 2001122
Date: 12/31/01
- Next message: Jim Lucas [php]: "Re: [PHP] Select box won't display in Netscape 4.xx"
- Previous message: Mike Eheler: "[PHP] Re: web mail clients?"
- In reply to: Martin: "[PHP] How to strip off all html-comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Jim Lucas [php]: "Re: [PHP] Select box won't display in Netscape 4.xx"
- Previous message: Mike Eheler: "[PHP] Re: web mail clients?"
- In reply to: Martin: "[PHP] How to strip off all html-comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

