match 10-12 digit javascript safaricom code example
Example 1: match 10-12 digit javascript safaricom
^(?:254|\+254|0)?(7(?:(?:[129][0-9])|(?:0[0-8])|(4[0-1]))[0-9]{6})$
Example 2: match 10-12 digit javascript safaricom
^0(7(?:(?:[129][0-9])|(?:0[0-8])|(4[0-1]))[0-9]{6})$