ruby delete substring from string code example Example: ruby substring remove "hello".gsub(/[aeiou]/, '')