> The case is what's stopping it from working > a str_replace(strtolower($exceptionphrase) , '' , > strtolower($stringtoparse)) would take the case out of the equation No, that didn't entire quite work, either. The result from this change is "or ldy lughed" and not the desired result of "lady laughed". It's not only replacing *whole* words but parts of words, too. thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php