Contents

// * are not expanded
// % are expanded, and but they will only work when placed at either the
// beginning or ending of the word
$censors = array(
'*damn%' => 'darn',
'whore%' => 'people',
'bastard*' => 'happyperson',
'*ho' => 'person',
);
// Be careful about creating censors with wildcards, as they match more
// words than you may want.