Skip to content

djugold/regex-dz-mobile-phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

#Regular Expression for Algerian Mobile Phone Numbers

##Mobile number format ^(00213|+213|0)(5|6|7)[0-9]{8}$

##Javascript Example

var reg=  /^(00213|\+213|0)(5|6|7)[0-9]{8}$/

reg.test("021481515"); // false
reg.test("0770123456"); // true
reg.test("0550123456"); // true
reg.test("0440123456"); // false
reg.test("0660123456"); // true
reg.test("00213660123456"); // true
reg.test("+213660123456"); // true

About

Regular Expression for Algerian Mobile Phone Numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •