Link Search Menu Expand Document

Parse Email Address - TEMPLATES-SAMPLES

Document Parser sample in TEMPLATES-SAMPLES demonstrating ‘Parse Email Address’

template.json
{
  "templateVersion": 4,
  "templatePriority": 0,
  "culture": "en-US",
  "objects": [
    {
      "id": 1647177640044,
      "objectType": "field",
      "name": "Email Address",
      "fieldProperties": {
        "fieldType": "macros",
        "expression": "[A-Za-z0-9_.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\n",
        "dataType": "string",
        "regex": true
      }
    }
  ],
  "oldObjects": [
    {
      "id": 1647177640044,
      "objectType": "field",
      "name": "Email Addres",
      "fieldProperties": {
        "fieldType": "macros",
        "expression": "[A-Za-z0-9_.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\n",
        "dataType": "string",
        "regex": true
      }
    }
  ],
  "templateName": "Parse Email Address",
  "description": "",
  "options": {
    "ocrMode": "auto",
    "ocrLanguage": "eng",
    "ocrResolution": 300,
    "ocrImageFilters": "",
    "ocrWhiteList": "",
    "ocrBlackList": ""
  }
}

PDF.co Web API: the Web API with a set of tools for documents manipulation, data conversion, data extraction, splitting and merging of documents. Includes image recognition, built-in OCR, barcode generation and barcode decoders to decode bar codes from scans, pictures and pdf.

Get your PDF.co API key here!

Download Source Code (.zip)

return to the previous page explore Document Parser endpoint