You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, we need add 'ar-LY' locale in isMobilePhone.js lib to do validation for Libya internal phones and mobile phones
country code : +218 format internal phones : ( [+]?[218]|[0] )? [AA[A]?] [XXX-XXX[X]?] [A] area codes : range 2 or 3 digits [X] phone number : 6 or 7 digits format mobile phones : ( [+]?[218]|[0] )? [9][1-5] [XXX-XXXX]
company codes : range 91 to 95 [X] phone number : always 7 digits
I've made an initial expression as : /^((\+?218)|0)?(9[1-6]|\d{2,3})\d{6,7}$/
Please improve the expression and add it into lib
for more info about Libya phone codes see : areaphonecodes
Best regards
The text was updated successfully, but these errors were encountered:
Hello everyone, we need add
'ar-LY'
locale inisMobilePhone.js
lib to do validation for Libya internal phones and mobile phonescountry code :
+218
format internal phones :
( [+]?[218]|[0] )? [AA[A]?] [XXX-XXX[X]?]
[A]
area codes : range 2 or 3 digits[X]
phone number : 6 or 7 digitsformat mobile phones :
( [+]?[218]|[0] )? [9][1-5] [XXX-XXXX]
company codes : range 91 to 95
[X]
phone number : always 7 digitsI've made an initial expression as :
/^((\+?218)|0)?(9[1-6]|\d{2,3})\d{6,7}$/
Please improve the expression and add it into lib
for more info about Libya phone codes see : areaphonecodes
Best regards
The text was updated successfully, but these errors were encountered: