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 and replace in text problem #460

Open
onigetoc opened this issue Mar 11, 2024 · 0 comments
Open

Find and replace in text problem #460

onigetoc opened this issue Mar 11, 2024 · 0 comments

Comments

@onigetoc
Copy link

I want to find and replace in a text by a tel:1234567890 link, but the findPhoneNumbersInText object shows me the formatted version and not the original. If there will have a kind of numberOriginal in the object it would be easy to replace with a link in the text for mobile phone but in the text it is not always formatted.

I know there's a React demo who do it here: https://catamphetamine.gitlab.io/libphonenumber-js/
but i want to use it in plain JavaScript or with angular and do not know how to convert from React to angular or simple JavaScript or TS.

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

1 participant