quuwqg
Last Updated: February 25, 2016
·
2.921K
· hvasconcelos

Remove non printable characters in a ruby string

...
foo.gsub(/[^[:print:]]/i, '')
...