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
Describe the bug
The current regular expression used for validating Israeli phone numbers is flawed and needs updating to accurately match the expected formats (issue with number (+972768818873). The existing regex is as follows: 'he-IL': /^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,
Examples
Existing Regex unable to validate all phone number for example +972768818873
IsMobilePhone.js - Update Regular Expression for Validating Israeli (`he-IL`) mobile number [Urgent as issue in production] · Issue #2503 · validatorjs/validator.js
Activity
b2rpt commentedon Nov 27, 2024
if you want i can work and raise PR for this.
Fix: Update regex for validating Israeli (he-IL) mobile number (valid…