Patterns HTML
Input | Pattern |
---|---|
pattern="[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+" | |
tel | pattern="[0-9]{4,20}" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" |
text (user) | pattern="^([a-z]+[0-9]{0,2}){5,12}$" |
text (password) | pattern="[A-Za-z0-9!?-]{8,12}" |