Answers for "Ruby remove characters from string"

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 characters from string"

Browse Popular Code Answers by Language