I regularly review my 404 errors and I notice that most of them are from errors in links from other sites. The most common example would be when they link to my site, but the link is at the end of a sentance and the period gets tossed into the link as well.
e.g.
good = http://www.example.com/category/cool-widgets.php
bad = http://www.example.com/category/cool-widgets.php.
Can I make a general rule in the .htaccess that would fix errors like this as they happen (rather than 1 at a time like I do now) and what would that look like?