diff --git a/src/lib/isMobilePhone.js b/src/lib/isMobilePhone.js index a2300da1a..9594d8b70 100644 --- a/src/lib/isMobilePhone.js +++ b/src/lib/isMobilePhone.js @@ -13,7 +13,7 @@ const phones = { 'ar-TN': /^(\+?216)?[2459]\d{7}$/, 'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/, 'bg-BG': /^(\+?359|0)?8[789]\d{7}$/, - 'bn-BD': /\+?(88)?0?1[156789][0-9]{8}\b/, + 'bn-BD': /\+?(88)?0?1[356789][0-9]{8}\b/, 'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/, 'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/, 'de-DE': /^(\+?49[ \.\-]?)?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/, diff --git a/test/validators.js b/test/validators.js index 4080d249f..7d2c63e1f 100644 --- a/test/validators.js +++ b/test/validators.js @@ -3507,7 +3507,7 @@ describe('Validators', () => { locale: 'bn-BD', valid: [ '+8801794626846', - '01199098893', + '01399098893', '8801671163269', '01717112029', ],