Validate phone number with JavaScript

前端 未结 26 2162

I found this code in some website, and it works perfectly. It validates that the phone number is in one of these formats:
(123) 456-7890 or 123-

26条回答
提交回复
热议问题