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 #2459

Closed
wants to merge 1 commit into 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)

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