DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+4 =
Submit