Skip to content

Commit 0024404

Browse files
authored
Merge pull request #630 from thabung/patch-1
Update isMobilePhone.js
2 parents 6788363 + 2b92393 commit 0024404

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/isMobilePhone.js

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const phones = {
3232
'pl-PL': /^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,
3333
'pt-BR': /^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,
3434
'pt-PT': /^(\+?351)?9[1236]\d{7}$/,
35+
'en-PK': /^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,
3536
'ru-RU': /^(\+?7|8)?9\d{9}$/,
3637
'sr-RS': /^(\+3816|06)[- \d]{5,9}$/,
3738
'tr-TR': /^(\+?90|0)?5\d{9}$/,

0 commit comments

Comments
 (0)