Assuming that your "words" are fairly conventional it may be that
$title =~ s/\b$_\b//gsi;
is what you are looking for. \b is a zero width assertion that matches word breaks. See perlre.
In reply to Re: removing words
by GrandFather
in thread removing words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |