Skip to main content

phone2numeric_filter

Take a phone number and converts it in to its numerical equivalent.

def phone2numeric_filter(
value: string
) - > string

Take a phone number and converts it in to its numerical equivalent.

Parameters

NameTypeDescription
valuestringThe phone number string containing alphanumeric characters to be converted

Returns

TypeDescription
stringThe numerical representation of the phone number, where alphabetic characters are replaced by their corresponding keypad digits