Regex Builder — AI-Powered Pattern Generator avatar

Regex Builder — AI-Powered Pattern Generator

Pricing

Pay per usage

Go to Apify Store
Regex Builder — AI-Powered Pattern Generator

Regex Builder — AI-Powered Pattern Generator

Build regex patterns from natural language, test against sample data, explain any regex in plain English, validate and optimize patterns, find/replace with backreferences. 15 pre-built patterns for email, URL, phone, date, UUID, text/ID, and more.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Kritsana

Kritsana

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

6 days ago

Last modified

Share

Regex Builder

AI-powered regex pattern builder. Describe what you want in plain English, get back a precise regex with full explanation. Test, validate, optimize, and find/replace.

Quick Start

pip install -e .
python -m regex_builder --transport sse --port 8000

Apify Actor

$apify push

Tools

ToolDescription
rx_buildBuild regex from natural language description
rx_testTest pattern against sample text — matches, groups, highlights
rx_explainExplain any regex token by token in plain English
rx_validateValidate pattern, warn about issues, suggest optimizations
rx_patternsList 15 pre-built patterns (email, URL, phone, date, UUID, etc.)
rx_replaceFind and replace with backreferences

Pre-built Patterns

Email, URL, US phone, Thai phone, IPv4, credit card, ISO date, Thai date, UUID, hex color, slug, Thai national ID, Thai text, HTML tag, semver.

Example

User: Build a regex for Thai national ID numbers
AI (rx_build): \d{1}[-\s]?\d{4}[-\s]?\d{5}[-\s]?\d{2}[-\s]?\d{1}
Explanation: digit → optional dash/space → 4 digits → ...1 digit
User: Test it against "1-2345-67890-12-3"
AI (rx_test): 1 match found — `1-2345-67890-12-3`

Claude Desktop

{
"mcpServers": {
"regex": {
"command": "python",
"args": ["-m", "regex_builder"]
}
}
}

License

MIT