开发者

Regex for specific number

I need regular expression for ID number, it's 9 numbers and the first number must be 4 or 9 o开发者_运维百科r 8.

can some one help ?


You can use the following regex:

^[489][0-9]{8}$
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜