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