• CLEAN LIST
  • RAW DATA
  • HUMAN REVIEW
  • FORMATTED

How to scrape contact info from text with your AI

Connect the Regex Extractor Engine once. After that, your AI handles the heavy lifting of finding specific patterns in any text you provide.

Ask AI about this page

Short answer

How can I pull emails and phone numbers from a block of text using AI?

Your AI uses the extract_regex_matches tool to scan text for specific patterns like email formats or phone number structures. It returns a clean list of every match it finds. You'll see the specific results organized below.

The results.

Where your data lands.

The AI processes the raw text and routes the findings based on your instructions.

CLEAN LIST

A structured list of matches

The AI uses regex to isolate every email or phone number. You get a clean, usable list instead of a wall of text.

RAW DATA

The original text source

The AI keeps track of the source text to ensure every match is grounded in the original input.

HUMAN REVIEW

Verification needed

Regex is precise, but you should still glance at the results to catch any weirdly formatted numbers the pattern might miss.

FORMATTED

Ready for export

Once the matches are pulled, you can tell your AI to format them as a CSV or a simple list for your spreadsheet.

The workflow

What your AI does when text arrives.

The AI acts as a filter, stripping away the noise to find exactly what you asked for.

  1. Pattern identification

    Your AI analyzes the text to find sequences that look like contact details.

    extract_regex_matches
  2. Pattern matching

    The engine runs the regex against the text to pull out every valid email or phone number.

    extract_regex_matches
  3. Data isolation

    The AI separates the found contact info from the surrounding conversational or unstructured text.

    extract_regex_matches
  4. Result delivery

    The matches are presented to you in a clear, organized format.

    extract_regex_matches

Try it

Copy these to start.

Use these prompts to trigger the extraction immediately.

Starting points

Swap out the bracketed text for your actual data sources like a specific email thread or a document.

JavaScript RegExp Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_RbVwkUPYk0l8B1BdJwZ5IZLoTsnwQomhtwlsmL1c/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — JavaScript RegExp capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "regex-extractor-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_RbVwkUPYk0l8B1BdJwZ5IZLoTsnwQomhtwlsmL1c/mcp"
    }
  }
}
Copy into chat04
  • Extract all email addresses from this Slack thread: [paste text]

  • Find every phone number in this customer support transcript: [paste text]

  • Scrape all contact info from this LinkedIn profile summary: [paste text]

  • Pull all email addresses from this raw log file: [paste text]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Regex Extractor Engine once, then ask.

Just click to connect. Your credentials stay encrypted, and you can start using the tool in your favorite AI client right away.

Connect Regex Extractor Engine to your AI

FAQ

How this task behaves.

  • 01

    Can the AI automatically save these emails to my CRM?

    No. The AI only extracts the information from the text. You have to move the data into your CRM yourself.

  • 02

    Will it delete the original text after extracting the info?

    No. The tool only reads the text to find matches. It does not modify or delete your original data.

  • 03

    Can it find names as well as emails?

    It can, provided you give it a regex pattern that matches name structures. It relies on the patterns you or the AI define.

  • 04

    Does it work on images of text?

    No. This tool works on text strings. You'll need to copy the text from an image first.

  • 05

    Can it handle messy, unformatted text?

    Yes. That is exactly what it is designed for. It ignores the surrounding noise to find the specific patterns you want.

  • More questions about Regex Extractor Engine? The Connector page answers them. See everything the Regex Extractor Engine Connector can do

Connect JavaScript RegExp to Claude, Cursor, ChatGPT & more