Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

match 10-12 digit javascript safaricom

^(?:254|+254|0)?(7(?:(?:[129][0-9])|(?:0[0-8])|(4[0-1]))[0-9]{6})$
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #match #digit #javascript #safaricom
ADD COMMENT
Topic
Name
8+2 =