I need to validate phone numbers. it must have a "+" sign followed by [0-9].
I need something like /^ + . [0-9]*$/
I don't know how to implement the "+" sign and how to have it validate only once. Concerning the length It does not matter for my purpose.
See the line below:
str.match(/^\+[0-9]+$/)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments