Skip to content

Commit

Permalink
Update isMobilePhone.js
Browse files Browse the repository at this point in the history
Minor suggestion to reduce the length of the expression аnd add two new mobile operators
  • Loading branch information
arttiger committed May 8, 2024
1 parent 4378c01 commit 17b8d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/isMobilePhone.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const phones = {
'th-TH': /^(\+66|66|0)\d{9}$/,
'tr-TR': /^(\+?90|0)?5\d{9}$/,
'tk-TM': /^(\+993|993|8)\d{8}$/,
'uk-UA': /^(\+?38)?0(50|63|66|67|68|73|91|92|93|94|95|96|97|98|99)\d{7}$/,
'uk-UA': /^(\+?38)?0(50|6[36-8]|7[357]|9[1-9])\d{7}$/,
'uz-UZ': /^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,
'vi-VN': /^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,
'zh-CN': /^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,
Expand Down

0 comments on commit 17b8d97

Please sign in to comment.