Why not count the number of words on a line by line basis? BTW, your regex /[ +\n+\,\:]/ isn't doing what you think it's doing.
Abigail
In reply to Re: Out of memory
by Abigail-II
in thread Out of memory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |