Skip to content

Commit c65b56e

Browse files
committed
feat(isMobilePhone): add Cambodia (km-KH) phone number regex
1 parent 784e52a commit c65b56e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/isMobilePhone.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const phones = {
119119
'ka-GE': /^(\+?995)?(79\d{7}|5\d{8})$/,
120120
'kk-KZ': /^(\+?7|8)?7\d{9}$/,
121121
'kl-GL': /^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,
122+
'km-KH': /^(\+855|0)(1[0-24-8]|31|6[016-9]|7[016-8]|8[15-9]|9[0235-9])\d{6,7}$/,
122123
'ko-KR': /^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,
123124
'ky-KG': /^(\+996\s?)?(22[0-9]|50[0-9]|55[0-9]|70[0-9]|75[0-9]|77[0-9]|880|990|995|996|997|998)\s?\d{3}\s?\d{3}$/,
124125
'lt-LT': /^(\+370|8)\d{8}$/,

0 commit comments

Comments
 (0)