Email with Display Name
Email address with a display name (RFC 5322 mailbox format). Format: "Display Name" <local@domain> or Display Name <local@domain>. Commonly used in email headers and contact lists.
Email with Display Name
identity.person.email_displayEmail address with a display name (RFC 5322 mailbox format). Format: "Display Name" <local@domain> or Display Name <local@domain>. Commonly used in email headers and contact lists.
Domain
identity
Category
person
Casts to
VARCHAR
Scope
Universal
Try it
CLI
$ finetype infer -i ""John Doe" <[email protected]>"
→ identity.person.email_displayDuckDB
Detect
SELECT finetype('"John Doe" <[email protected]>');
-- → 'identity.person.email_display'Cast expression
CAST({col} AS VARCHAR)Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'identity.person.email_display';Struct Expansion
Expression
display_name: REGEXP_EXTRACT({col}, '^"?([^"<>]+?)"?\s*<')
email: REGEXP_EXTRACT({col}, '<([^>]+)>')JSON Schema
finetype schema identity.person.email_display
{
"$id": "https://meridian.online/schemas/identity.person.email_display",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Email address with a display name (RFC 5322 mailbox format). Format: \"Display Name\" <local@domain> or Display Name <local@domain>. Commonly used in email headers and contact lists.",
"examples": [
"\"John Doe\" <[email protected]>",
"Jane Smith <[email protected]>",
"\"Alice B. Johnson\" <[email protected]>",
"Support Team <[email protected]>"
],
"maxLength": 300,
"minLength": 10,
"pattern": "^\"?[^\"<>]+\"?\\s*<[a-zA-Z0-9._%+\\-]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}>$",
"title": "Email with Display Name",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-pii": true,
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}Examples
"John Doe" <[email protected]>Jane Smith <[email protected]>"Alice B. Johnson" <[email protected]>Support Team <[email protected]>Aliases
mailboxemail_with_name