Answers for "ruby remove non ascii characters"

0

remove ascii characters from string ruby

s.gsub!(/\P{ASCII}/, '')
Posted by: Guest on April-16-2020
0

remove ascii characters from string ruby

s.delete!("^\u{0000}-\u{007F}")
Posted by: Guest on April-16-2020

Code answers related to "ruby remove non ascii characters"

Browse Popular Code Answers by Language