Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex to check the phone number javascript

//To check that the phone number is of 10 digits
let regex=/^[0-9]{10}$/;
Source by uibakery.io #
 
PREVIOUS NEXT
Tagged: #regex #check #phone #number #javascript
ADD COMMENT
Topic
Name
3+4 =