scan through all the vowels in a string: [aeiou] means "match any of a, e, i, o, or u."
"This is a test".scan(/[aeiou]/) { |x| puts x }