The pattern attribute specifies a regular expression that the input element's value is checked against.
Note: The pattern attribute of the input tag is not supported in Internet Explorer 9 and earlier versions, or in Safari 10 and earler versions.