Skip to main content

Can I extract repeating text values?

Overview

Yes, Mailparser allows you to extract repeating text values from emails using the Find Repeating Text Values filter.

This is useful when the same type of data appears multiple times in an email, such as:

  • Names
  • Order items
  • Addresses
  • Labels followed by values

How It Works

The filter extracts values based on their position relative to a repeating keyword (anchor). Each time the keyword appears, Mailparser captures the associated value.


How to Use It

Step 1: Add the Filter

  1. Open your parsing rule
  2. Click Add Text Filter
  3. Navigate to:
    Extract Tabular Data → Find Repeating Text Values


Step 2: Set the Anchor Keyword

Enter the keyword that appears before each value you want to extract.

For example:

Name: John  
Name: Jane
Name: Mark

The Anchor keyword is:

Name:


Step 3: Define the Value Position

Adjust where the extracted value starts and ends:

  • Move the cursor to define the start position
  • Set how many characters or lines to include
  • Optionally define where the value ends

Step 4: Preview the Results

Check the preview to confirm that all repeating values are being captured correctly.


Tips

  • Use a consistent keyword that appears before every value
  • Adjust offsets if the value is not directly beside the keyword
  • If your data is grouped in blocks instead of single values, consider using Repeating Text Blocks instead

When to Use This Filter

Use this filter when:

  • The same field appears multiple times in an email
  • Each value is tied to a clear label or keyword
  • Data is not structured as a table

Summary

The Find Repeating Text Values filter helps you extract multiple values from an email by using a repeating keyword as a reference point.

It’s ideal for capturing structured, repeated data without needing a table format.

Was this article helpful?
0 out of 0 found this helpful

Still stuck?

Send us your inbox name and a sample email.

Submit a request