Here is a tutorial that will walk you through creating a custom password requirement. The example used requires that passwords contain at least 2 uppercase characters, 2 lowercase, 2 numbers, and 2 special characters; with the a length of at least 8 characters.
From the framework of the example, you can adjust these variables as needed/desired.