I am having a problem with the regex expressions. I am trying to match a string, which should contain at least one uppercase charracter and at least one number from 0-9 Lets say we have these strings:
sdsFg3n match asdfghf not match aewag3t not match The order of the charracters and numbers is not important.. The string should just contain them. The expression I tried is [A-Za-z0-9], but that doesn't help me...
^(?=.*[A-Z]).*\d.*.... Next time, you should post your attempts.Next time,^(?=.*?[A-Z])[a-zA-Z]*\d[a-zA-Z\d]*$