Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript regex check phone number

let pattern = /^[62|0]+d{10}/gi
let phone = '087887242822'
console.log(pattern.test(phone))
Source by uibakery.io #
 
PREVIOUS NEXT
Tagged: #javascript #regex #check #phone #number
ADD COMMENT
Topic
Name
9+1 =