Skip to main content

Extract Text by Expression - RegEx for Make

PDF4me Extract Text By Expression module delivers automated pattern-based text extraction from PDF documents within Make scenarios using regular expressions and search patterns. This intelligent data extraction service finds and retrieves invoice numbers, dates, amounts, email addresses, phone numbers, and custom text patterns—enabling structured data extraction, automated parsing, field identification, and intelligent document processing workflows across cloud storage platforms and business applications.

Authenticating Your API Request

To access the PDF4me Web API through Make, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Make scenarios and PDF4me's powerful text extraction services.

Extract Text By Expression Make

Key Features

  • Regex Support: Use regular expressions for powerful pattern matching
  • Multi-Match Extraction: Retrieve all matching text instances
  • Page-Specific: Target specific pages or all pages
  • Structured Output: Returns matches as text array
  • Data Mining: Extract specific data patterns from unstructured PDFs

Parameters

Complete list of parameters for the Extract Text By Expression module. Configure these parameters to control text extraction.

Important: Parameters marked with an asterisk (***) are required and must be provided for the module to function correctly.

ParameterTypeDescriptionExample
PDF File Name***StringSource PDF Filename
• Specify filename with .pdf extension
• Map from previous module output
• PDF containing text to extract
• Supports dynamic naming
invoice.pdf
PDF File***BufferPDF File Content
• Map PDF file buffer from previous module
• Source from Dropbox, Google Drive, email
• Binary PDF with text content
• Invoice, form, or document with data
[PDF Buffer]
Expression***StringSearch Pattern/Regex
• Regular expression or search pattern
• Extract specific text patterns
• Examples: invoice numbers, dates, emails
• Can use simple text or complex regex
INV-[0-9]{4}
Page***StringTarget Page Selection
• Comma-separated page indices (0-based)
• Supports ranges with hyphen
• Empty processes all pages
• String format required
0-

Output

The PDF4me Extract Text By Expression module returns comprehensive match data for seamless Make scenario integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
Text ListArray of StringsAll text matches found using expression

Scenario Examples

The PDF4me Extract Text By Expression module in Make provides comprehensive scenario templates for text extraction automation:

Automated Invoice Number Extraction Scenario

Transform your invoice processing with automated number extraction:

Complete Scenario Steps:

  1. Trigger: Watch Email for invoice PDFs
  2. Get Invoice PDF: Extract PDF from email attachment
  3. Extract Invoice Number: Use pattern "INV-[0-9]+" to find number
  4. Extract Amount: Use pattern to find total amount
  5. Extract Due Date: Find date pattern in document
  6. Create Invoice Record: Insert data into accounting system
  7. Archive Invoice: Store PDF with extracted metadata
  8. Notify AP Team: Alert accounts payable of new invoice

Business Benefits:

  • Processes 300+ invoices monthly automatically
  • Eliminates manual invoice number entry
  • Enables automated invoice tracking and routing
  • Reduces invoice processing time by 85%

Industry Use Cases & Applications

  • Invoice Data: Extract invoice numbers and amounts
  • PO Processing: Retrieve purchase order numbers
  • Account Numbers: Extract bank account information
  • Transaction IDs: Find payment reference numbers

Get Help