checks entered value  for upper case ,lower case, digit,symbol