Hello, i''m quite new with Ruby and i''ve been headbreaking quite a while on the following question. So I hope somebody can help this Noob on Rails. I want to use validates_format_of on the password a user enters for his or her account. I want it to check on the following: 1.. The password has to have a minimum of 2 non-capitalized characters. with the characters i mean: a to z AND 2.. The password has to have a minimum of 2 CAPITALIZED characters. with the characters i mean: A to Z AND 3.. The password needs to have another charachter like, !@#$%^&*()~`'';: etc. I hope someone can give me the answer. Already thx for helping me out. Michel Dogger -- Posted via http://www.ruby-forum.com/.