Example of processing telephone numbers to obtain the country code.
This workflow demonstrates parsing of telephone numbers, but keep in mind that the exact approach is country-specific and so will require configuration and may require alteration for non-UK territories, although hopefully the configuration will generally suffice.
The workflow was written as a response to the following Forum question:
https://forum.knime.com/t/country-codes-extract-from-given-phone-numbers/48529
This workflow also demonstrates the use of my Join LIKE component, which is used here to wildcard-join to the international dialling codes list which is contained within a CSV file inside this component.
The International code list is believed to be correct, but is not guaranteed. Check it if you wish to use it and complete accuracy is important to you.
The source for this CSV list was a json file downloaded from:
https://gist.github.com/anubhavshrimal/75f6183458db8c453306f93521e93d37
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.