Built from an updated version of the “Title Case a Sentence” challenge. This one ignores certain user-specified words and anything in all-caps (with the assumption that they’re either abbreviations or intentionally that way).
How could this be optimized?
(One thing would be improving the abbreviation detection - e.g. “VPNs proven to cause cancer” currently returns “Vpns Proven to Cause Cancer” - should be “VPNs Proven to Cause Cancer”.)