string contains lowercase characters
string = 'This is a test' if string =~ /[a-z]/ puts "string contains lowercase characters" end