The pattern attribute specifies a regular expression that the input element's value is checked against.