Examples
The same task in Node.js, Python, and Java, with its output. Each example also has a demo you can try in your browser, running on the table bundled with the library.
Forms
Input fields: validate, accept pasted text, check the type, link.
Finding numbers in text
Pick phone numbers out of messages, pages, and business cards.
Data and storage
Clean, deduplicate, count, and convert stored numbers.
Store digits, show hyphens
Format stored digits with the groups from the numbering table.
normalizenational
Find duplicates written differently
Group entries that are the same number in different notations.
normalize
Validity rules
Which numbers japan-phone rejects, and why.