Skip to content

Conversation

@nichoola
Copy link
Contributor

@nichoola nichoola commented Mar 2, 2025

Properly validates the Albanian mobile phone numbers
fix(isMobilePhone): update Albanian phone number regex

I've updated the regex rule for the Albanian mobile phone numbers format based on the ITU specifications and the official docs from the Albanian authorities. I've updated the samples for the tests.

Please see the mobile phone numbers format for Albania specified on the page 3 of the pdf from the ITU website or the page 4 of the .pdf from the AKEP(Albanian Electronic and Postal Communications Authority). Sent.dm specifies that only 67, 68 and 69 prefixes are currently assigned, but the entire 62-69 range is valid.

Checklist

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

@rubiin rubiin merged commit b6dea02 into validatorjs:master Mar 16, 2025
10 checks passed
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.

3 participants