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

Find phone numbers in text doesn't work if fr and us are mixed #459

Open
fstn opened this issue Mar 1, 2024 · 1 comment
Open

Find phone numbers in text doesn't work if fr and us are mixed #459

fstn opened this issue Mar 1, 2024 · 1 comment

Comments

@fstn
Copy link

fstn commented Mar 1, 2024

Got o the demo https://catamphetamine.gitlab.io/libphonenumber-js/?parseCountry=US&parseValue=213-373-4253&asYouTypeCountry=US&findNumbersCountry=US&findNumbersText=My%20phone%20number%20is%20%2B1%20123-456-7890%20and%20my%20other%20number%20is%20%2B33%201%2023%2045%2067%2089 and search number for:

My phone number is +1 123-456-7890 and my other number is +33 1 23 45 67 89

Result will be:
Phone numbers found: 1
My phone number is +1 123-456-7890 and my other number is +33 1 23 45 67 89
Number: +33123456789, Country: FR, Starts at: 58, Ends at: 75

@catamphetamine
Copy link
Owner

catamphetamine commented Mar 1, 2024 via email

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

No branches or pull requests

2 participants