【发布时间】:2018-11-24 01:51:48
【问题描述】:
我正在寻找正确的 html5 电话号码验证模式, 在埃及,所有电话号码都以 (01) 开头,然后是九个数字,如下所示: 01123456789 我使用这种模式来做到这一点,但它不能正常工作
<input type="text" name="phone" pattern="[01]{1}[0-9]{9}" title="Egypt Phone numbers">
【问题讨论】:
标签: html validation input