17.8 For Further Study
http://www.w3schools.com/tags/att_input_pattern.asphas more on input patterns.