Standard capitalization modifiers added.

Added support for the standard capitalization modifiers in the replacement string.  Works, but without becoming more familiar with your code, I am not sure that it is the best approach.