Re: count words in a document
| From: | jeremy brand | Date: | Tue, 28 Nov 2000 05:12:54 +0000 |
| Subject: | Re: count words in a document | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27549@lists.php.net to get a copy of this message | ||
I would strip_tags(), then wc -w (or equivilant) the output.
-jeremy brand
On Tue, 28 Nov 2000, Benjamin Brown wrote:
> Date: Tue, 28 Nov 2000 15:11:36 +1000
> From: Benjamin Brown <benb@thetrafficcompany.com>
> To: php-general@lists.php.net
> Subject: [PHP] count words in a document
>
> Can anyone help , I need to count how many words there are in an HTML document but not count
> any HTML tags.......
>
> Thanx
>
> Benjamin Brown
>
> The Traffic Company
> www.thetrafficcompany.com
>
> Internet Traffic Development
>
> This communication is intended for the named recipients only. It is confidential and may
> contain information which is privileged or personal. Unless expressly stated, this communication
> does not waive legal professional privilege with respect to any material. The Traffic Company
> disclaims all responsibility and accepts no liability for the contents of this communication unless
> subsequently confirmed in writing. If you are not an intended recipient you must not disclose or use
> this communication for any purpose.
>
>
>