Skip to content

Conversation

jamro
Copy link

@jamro jamro commented Dec 7, 2024

fix(isMobilePhone): update regex for Israeli (he-IL) mobile number validation

Update regular expression of Izrael mobile phone number to cover non-geographic area code 07
Data format source: https://en.wikipedia.org/wiki/Telephone_numbers_in_Israel

Fixes: #2503

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@@ -10819,6 +10819,34 @@ describe('Validators', () => {
args: [],
});

// he-IL non-Geographic
test({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IsMobilePhone.js - Update Regular Expression for Validating Israeli (he-IL) mobile number [Urgent as issue in production]
3 participants