Categories

Text Extractor

Extract specific patterns (emails, phones, URLs, numbers)

Key Facts

Category
Text Processing
Input Types
textarea, select, text, checkbox
Output Type
text
Sample Coverage
4
API Ready
Yes

Overview

The Text Extractor is a powerful utility designed to quickly identify and pull specific data patterns like email addresses, phone numbers, URLs, and numeric values from large blocks of unstructured text.

When to Use

  • When you need to harvest contact information from long documents or web pages.
  • When you need to clean up messy data by isolating specific types of information.
  • When you need to verify the presence or count of specific data formats in a text file.

How It Works

  • Paste your source text into the input area.
  • Select the type of data you wish to extract from the dropdown menu.
  • Choose your preferred output format, such as a clean list or unique items only.
  • Click the process button to instantly generate your extracted data.

Use Cases

Compiling a list of email addresses from a long thread of customer support messages.
Extracting all URLs from a scraped web page for link auditing purposes.
Isolating numeric values from technical logs to perform quick statistical analysis.

Examples

1. Extracting Leads from Correspondence

Sales Representative
Background
I have a long email thread containing various contact details for potential clients mixed in with conversation.
Problem
Manually copying and pasting email addresses is slow and prone to human error.
How to Use
Paste the entire email thread into the input, select 'Email Addresses', and set the output to 'Unique'.
Example Config
extractType: emails, outputFormat: unique
Outcome
A clean, deduplicated list of all unique email addresses found in the thread.

2. Parsing Technical Logs

System Administrator
Background
I need to identify all unique error codes (numeric) from a massive server log file.
Problem
The log file is too large to scan manually for specific numeric patterns.
How to Use
Paste the log content, select 'Numbers' as the extract type, and choose 'Unique' to see every distinct error code.
Example Config
extractType: numbers, outputFormat: unique
Outcome
A concise list of every unique numeric error code present in the logs, allowing for rapid troubleshooting.

Try with Samples

text

Related Hubs

FAQ

Can I extract multiple types of data at once?

No, the tool is designed to extract one specific pattern type per operation to ensure accuracy.

Does this tool support custom regex patterns?

Yes, select 'Custom Pattern' in the extract type menu and enter your specific regex in the provided field.

Is my data stored on your servers?

No, all text processing is performed locally in your browser for your privacy and security.

Can I remove duplicate entries from my results?

Yes, simply select 'Unique Items' in the Output Format option to filter out any redundant data.

Is the extraction case-sensitive?

You can toggle the 'Case Sensitive' checkbox to adjust how the tool matches your specified patterns.

API Documentation

Request Endpoint

POST /en/api/tools/text-extractor

Request Parameters

Parameter Name Type Required Description
textInput textarea Yes -
extractType select Yes -
customPattern text No -
caseSensitive checkbox No -
outputFormat select Yes -

Response Format

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Text: Text

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-text-extractor": {
      "name": "text-extractor",
      "description": "Extract specific patterns (emails, phones, URLs, numbers)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-extractor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]