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

adding more countries to isMobilePhone.js #2460

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

RahulSingh044
Copy link

Overview

This pull request enhances the isMobilePhone functionality by adding support for mobile phone number validation for several additional countries. The goal is to expand the reach of our validation library and ensure it accommodates a wider range of international phone formats.

Changes Made

New Countries Added : Introduced regex patterns for the following countries:

  • Germany (de-DE)
  • Vanuatu (en-VU)
  • Monaco (fr-MC)
  • Liechtenstein (de-LI)
  • Côte d'Ivoire (fr-CI)
  • Eswatini (en-SZ)

Regex Patterns: Implemented specific regular expressions tailored to the mobile number formats of each newly added country, ensuring accurate validation.

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
Copy link
Member

rubiin commented Sep 30, 2024

please add tests and reference and update the checklist

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

Successfully merging this pull request may close these issues.

3 participants