📜  正则表达式检查电话号码 javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:09.341000             🧑  作者: Mango

代码示例2
//To check that the phone number is of 10 digits
let regex=/^[0-9]{10}$/;