Hi, > $wc = strlen(preg_replace('/\W*\w*/', 'x', file_get_contents($file)); > Look, no arrays! :-) > - Stig
is this faster than the array-based solution? -daniel -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php