http://html5pattern.com

Sample registration form

Enter bad values and then press the submit button.

pattern password min 8chr litere mari,mici si un nr!!! (?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$
pattern simplu: ^(?=.*[a-zA-Z0-9\W+])(?![.\n]).{6,}$