Go to example tasks

Match Text with a Regular Expression

Match status lines with a named regular expression and save every match in an Apify dataset.

Try for free
Regex Helper
Regex Helpermaximedupre/regex-helper
Text
Match count
Matches by pattern
Text
Number
Boolean
List
Object

Input

Target(required):texts
Texts:Status: ERROR status: warning Status: OK
Custom patterns
Name(required):statusLines
Regular expression(required):^status:\s*(?<status>error|warning|ok)$
Regex flags:IGNORECASE+1
Match mode:all

Output fields

Text
Match count
Matches by pattern

How it works

Sign up on Apify or log in

The Regex Helper Actor is ready to run with the inputs already set for "Match Text with a Regular Expression". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Match Text with a Regular Expression" task

The Regex Helper Actor will start running based on the input automatically. You can also change all the input fields, like target, texts, and more, to match your specific use case.

Receive the "Match Text with a Regular Expression" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as text, match count, and matches by pattern.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Match Text with a Regular Expression" task via API.

Image

Integrate "Match Text with a Regular Expression" into your workflow

Connect "Match Text with a Regular Expression" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay