Skip to content

Instantly share code, notes, and snippets.

@alihesari
Created April 27, 2020 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alihesari/cb9d673286c133a4d1852f2b4c2f3c88 to your computer and use it in GitHub Desktop.
Save alihesari/cb9d673286c133a4d1852f2b4c2f3c88 to your computer and use it in GitHub Desktop.
Mobile regex
(^((00989)|(\+989)|(989)|09|(9[0-4,9][0-9])))
# Mobile range number
901
902
903
904
905
910
911
912
913
914
915
916
917
918
919
920
921
922
930
931
932
933
934
935
936
937
938
939
941
990
991
992
998
999
994
0901
0902
0903
0904
0905
0910
0911
0912
0913
0914
0915
0916
0917
0918
0919
0920
0921
0922
0930
0931
0932
0933
0934
0935
0936
0937
0938
0939
0941
0990
0991
0992
0998
0999
0994
98901
98902
98903
98904
98905
98910
98911
98912
98913
98914
98915
98916
98917
98918
98919
98920
98921
98922
98930
98931
98932
98933
98934
98935
98936
98937
98938
98939
98941
98990
98991
98992
98994
98998
98999
0098901
0098902
0098903
0098904
0098905
0098910
0098911
0098912
0098913
0098914
0098915
0098916
0098917
0098918
0098919
0098920
0098921
0098922
0098930
0098931
0098932
0098933
0098934
0098935
0098936
0098937
0098938
0098939
0098941
0098990
0098991
0098992
0098998
0098999
0098994
+98901
+98902
+98903
+98904
+98905
+98910
+98911
+98912
+98913
+98914
+98915
+98916
+98917
+98918
+98919
+98920
+98921
+98922
+98930
+98931
+98932
+98933
+98934
+98935
+98936
+98937
+98938
+98939
+98941
+98990
+98991
+98992
+98994
+98999
+98998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment