There actually exists tools to split texts like the first sample into legible words (!), but they seem to be very specialized and out of the league of ordinary people like you and me (I haven't tried any) - eg.
wordsplit or
wordsegment.
Regarding the second one you might get something from the
PepitoCleaner extension (general cleanup) and the
Linguist extension (finding the most common misspellings, so they can be corrected by find-and-replace) - if you have LibreOffice.
(Don't let the silly logo of Pepito Cleaner put you off - it's actually a very good tool - and you can also put in your own regex'es if needs be.)
Regards
Kim