Skip to content

Commit 1791a1a

Browse files
committed
feat(isMobilePhone): add Ethiopia (et-ET) phone number regex
1 parent 784e52a commit 1791a1a

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
@@ -93,6 +93,7 @@ const phones = {
9393
'es-SV': /^(\+?503)?[67]\d{7}$/,
9494
'es-UY': /^(\+598|0)9[1-9][\d]{6}$/,
9595
'es-VE': /^(\+?58)?(2|4)\d{9}$/,
96+
'et-ET': /^(\+?251|0)(9|7)\d{8}$/,
9697
'et-EE': /^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,
9798
'fa-IR': /^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,
9899
'fi-FI': /^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,

0 commit comments

Comments
 (0)