On 2008-05-08, globalrev <skanemupp / yahoo.se> wrote: > this way: > if str[x].chr =~ /[aeiouy]/ > i can see if a char is any of the chars aeioyu > > but i want to see if its not... > if str[x].chr !=~ /[aeiouy]/ how about something like: if not str[x].chr =~ /[aeiouy]/ then print "YO\n" end OR if str[x].chr !~ /[aeiouy]/ then print "YO\n" end --