Is there a method similar to REGEX to pull email?

Idea is to pull the label with a “@” as an email
(cross posted from Slack by admin)

Yes, you can extract emails. Since we don’t currently support an email type, your best bet is to use a regex statement to capture an email address as your anchor, and use the “passthrough” method to output the anchor.

For example if you were looking for a customer email and you knew it was preceded by the line “customer information” and followed by the line “customer phone”, you could write something like:

{
  "fields": [
    {
      "id": "customer_email",

      "anchor": {
        "start": {
          "type": "startsWith",
          "text": "customer information",
        },
        "match": {
          "type": "regex",
          "pattern": "\S+@\S+"
        },
        "end": "customer phone"
      },
      "method": {
        "id": "passthrough"
      }
    }
  ]
}