Paul Novitski wrote:
IIRC str_replace() does not interpret or understand regular expression syntax - you'd need preg_replace() for thatIf you go this route, perhaps you could enclose each member of your original array in \b word boundary sequences using an array_walk routine so that you don't have to muddy your original array declaration statement.
rich