We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ukmobilephone validator currently has a regex which validates against numbers starting with 07.
ukmobilephone
A UK mobile phone number could be formatted using the international dialling code which is the +44 prefix, replacing the leading 0.
Example (demo phone number): 07700900000 === +447700900000
Extend the ukmobilephone validator to pass validation whether the provided number follows the 07x or +447x format.
Update the tests for the validator to reflect the change.
The text was updated successfully, but these errors were encountered:
Hi @robertdeniszczyc2 thanks to @Rhodine-orleans-lindsay here is a published beta package 22.0.2-ukmobilephone-validator-beta
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Problem
The
ukmobilephone
validator currently has a regex which validates against numbers starting with 07.A UK mobile phone number could be formatted using the international dialling code which is the +44 prefix, replacing the leading 0.
Example (demo phone number):
07700900000 === +447700900000
Solution
Extend the
ukmobilephone
validator to pass validation whether the provided number follows the 07x or +447x format.Update the tests for the validator to reflect the change.
The text was updated successfully, but these errors were encountered: