Javascript regular expression to validate phone number

前端 未结 0 1970
谎友^
谎友^ 2020-12-15 12:56

Can anyone help me how to validate the phone number with the following conditions

  1. \'+\' is an optional character.
  2. it should allow only numbers from 0-9
相关标签:
回答
  • 消灭零回复
提交回复
热议问题