The fastest way to address this is to create separate data items for each portion of the password policy.
For example, let's take these policies:
At least one capital letter
One number
One non-alphanumeric
8 character minimum
Create 4 data items:
1. Random password of one character length. Make it upper case
2. Random single digit number
3. Random non-alphanumeric
4. 5 character long random password
Concatinate the above for data items and you should have a random password that meets the policy requirements.
W.