Inform password rule in the app

I made a password rule with character length and the way that password would be: the first upper case, lower case, number and special character.
What I want is as he typed, a message appeared that that rule was completed.

image

Also you can try this

https://kevinkun.cn/regex/