extract domain from email

This block is part of the value group and was last modified in core v14.0.4.

extract domain from email v14.0.4

Extracts the domain part from an email address (the part after @)

In pins 1
  • email required
    value

    The email address to extract the domain from

Out pins 2
  • valid
    condition

    Returns true if a domain was successfully extracted

  • domain
    value

    The domain part of the email address

Outputs everything after the FIRST @ as domain ("a@b@c" -> "b@c"); no other email validation is performed. valid is true only when an @ exists with a non-empty remainder; otherwise valid is false and domain is nil.

email
domain

A typical wiring for extract domain from email: value feeds the email pin; the valid out pin feeds branch.

Studio canvas example for the extract domain from email block: typical wiring for extract domain from email.

Version history

Introduced in v14.0.4.


Back to value Return to the main group to view all sub-groups Back to value Return to the group to view all blocks within this group