Skip to content

Find and replace in text problem #460

@onigetoc

Description

@onigetoc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions