Hey guys im having a bit of trouble here, im not really sure what to do.
So i need to make a method which checks these requirements:

String must have at least eight characters.(Done)
String consists of only letters and digits.
String must contain at least two digits

any idea's?