HTML5 phone number validation with pattern
How about this? /(7|8|9)\d{9}/
It starts by either looking for 7 or 8 or 9, and then followed by 9 digits.
How about
<input type="text" pattern="[789][0-9]{9}">
How about this? /(7|8|9)\d{9}/
It starts by either looking for 7 or 8 or 9, and then followed by 9 digits.
How about
<input type="text" pattern="[789][0-9]{9}">