Parse phone numbers into specific format
Usage
phone_parse(phone, country = "", format)
Arguments
- phone
character vector of phone numbers
- country
CLDR country code. If empty, tries to parse it from phone
- format
character. one of "International", "National", "RFC3966", "E.164"
Value
character vector of parsed and formatted phone numbers
phone_parse(fake_phone,format = "RFC3966")
phone_parse("016012345678",country = "DE",format = "International")