Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(isMobilePhone): fix macedonian mobile phone numbers validation #2497 #2516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shaktisaluja
Copy link

Updated the isMobilePhone function to validate Macedonian mobile phone numbers correctly.

Changes:

  • Updated the regex to account for the valid Macedonian mobile phone prefixes (e.g., +389, 070, 071, etc.), ensuring that the validation works correctly for both local and international formats.

References:

  • Macedonian phone numbers typically start with country code +389 and are followed by a 9-digit local number.
  • The phone number formats considered are:
    • International: +389 XXX XXX XXX
    • Local: 070 XXX XXX, 071 XXX XXX, etc.

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.

1 participant