On 2.1, we could use `String#scrub`, btw.