hi.initially i presented my question in the form of a code.to put it more precisely,this is what i want:

password:
* Must be at least 6 characters and utmost 12 characters
* Must contain at least one one lower case letter, one upper case letter, one digit and one special character
* Valid special characters are - @#$%^&+=

thank u and sorry for posting twice.