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