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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.