phone

Extracts and transforms a value into a phone number without spaces or periods while keeping the country code if it is filled in.
phone($data , country_code = None ) : String
$data.phone( country_code = None ) : String
Parameters
$data String | List
country_code String

The country code that is automatically added if not present.

Examples

How to extract Phone Numbers from HTML