You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: