I've looked around extensively for a solution, couldn't find anything specific to what I'm looking to do. When I found a partial solution, my addition to that code wasn't working.
For example, given the string "hellO This is uNformaTTED", the solution would be "Hello This Is Unformatted".
I've looked at the problem in different ways, none of which I can get to work.