Answers for "remove characters from string ruby"

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

Browse Popular Code Answers by Language