If this is for the password policy of your Mendix application I would highly recommend following David's advice.
If for some other reason you really need a regular expression, this will perform the checks you specified:
^(?=.*\d)(?=.*[a-zA-Z]).{7,}$
This functionality is built-in in mendix v4.2.x Go to Project... Security... Password Policy tab and set it there