html5 input pattern greater than number pattern code example Example: name validation html <input type="text" pattern="[a-zA-Z'-'\s]*">