html5 pattern regex only numbers from 8 to 10

后端 未结 1 840
暖寄归人
暖寄归人 2021-01-29 17:08

I can\'t figure out how to write regex for only numbers from 8 to 10.

Any help would be really appreciated!

相关标签:
1条回答
  • 2021-01-29 17:26

    Found solution for this regex:

    ^[0-9]{8,10}$
    
    0 讨论(0)
提交回复
热议问题