I need to implement in my Oracle database a password policy, it should the follow characteristics:

Expire password, password history, password complexity and lock account on failed logon

The Oracle provides everything, but the item password complexity ( it is using the function that I created with utlpwdmg.sql script) doesn't works for my needs, I need the function that:

The minimum length of the password (8 characters)
Password should contain at least one digit (number);
Password should contain at least one character;
Password should contain at least one character (capital letter)

Question: Is there any function ready ? Or, maybe, is there any function that can be changed ?