Here is what I want to do:
Search and replace words via an array, like:
$s[]="this";
$r[]="that";
str_replace($s, $r, $string);
But I am having a problem because I need it to be case insensitive and I also need to still replace the word if there is say a period or exclamation point after or before it. I know I'm going to have to use REGEX but I don't know how to use REGEX worth a damn, can someone give me some sample code to work with? I'm already tried the PHP manual and all and didn't find much to work with.
Thanks in advance!