html input regex
snippet in html

html input regex

user2411

<input type="text" pattern="[A-Za-z]{3}">

html textbox pattern mobile number

user7208

<input type="text" name="Phone Number" pattern="[7-9]{1}[0-9]{9}" 
       title="Phone number with 7-9 and remaing 9 digit with 0-9">