Added html5 pattern matching and validation messages