I’d advise against stuff like this since there’s almost always a country where the phone numbers won’t match the validation, but here is the regex that matches your request
^\+?[0-9]{8,15}$
solved phone number validation in js [closed]
I’d advise against stuff like this since there’s almost always a country where the phone numbers won’t match the validation, but here is the regex that matches your request
^\+?[0-9]{8,15}$
solved phone number validation in js [closed]