Supported in: Batch, Streaming
Resolves and normalizes phone numbers.
Expression categories: String
Output type: Phone Number
Description: Should return parsed number in the E164 with digits only format. Argument values:
E164_DIGITS_ONLY
US
Output: 14155552671
Description: Should return parsed number in the E164 format. Argument values:
E164
US
Output: +14155552671
Description: Should return parsed number in the the INTERNATIONAL format. Argument values:
INTERNATIONAL
US
Output: +1 415-555-2671
Description: Should return parsed number in the the NATIONAL format. Argument values:
NATIONAL
US
Output: (415) 555-2671
Description: Should return parsed number in the the RFC3966 format. Argument values:
RFC3966
US
Output: tel:+1-415-555-2671
Description: Return formatted US phone number Argument values:
phoneNumber
E164
US
phoneNumber | Output |
---|---|
(234) 235-5678 | +12342355678 |
+1 415 5552671 | +14155552671 |
(415) 5552671 | +14155552671 |
Whatsapp@14155552671 | +14155552671 |
Description: Return null when phone number is un-parsable Argument values:
phoneNumber
E164
phoneNumber | Output |
---|---|
null | null |
9991-COMPANY | null |
empty string | null |
Description: Tries to parse number only based on the number itself. Region not specified Argument values:
phoneNumber
E164
phoneNumber | Output |
---|---|
(234) 235-5678 | null |
+1 415 5551111 | +14155551111 |
1 415 555 1111 | null |
+1 411 1111111 | null |
+34 91 23 45678 | +34912345678 |
Whatsapp@34912345678 | null |