string contains uppercase characters
string = "this is a test" if string =~ /[A-Z]/ puts "string contains uppercase characters" end