Created a 1-line variant to the previous solution.  This solution uses regular expression substitutions to accomplish the task.