Regex Builder — AI-Powered Pattern Generator
Pricing
Pay per usage
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
6 days ago
Last modified
Categories
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
| Tool | Description |
|---|---|
rx_build | Build regex from natural language description |
rx_test | Test pattern against sample text — matches, groups, highlights |
rx_explain | Explain any regex token by token in plain English |
rx_validate | Validate pattern, warn about issues, suggest optimizations |
rx_patterns | List 15 pre-built patterns (email, URL, phone, date, UUID, etc.) |
rx_replace | Find 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 numbersAI (rx_build): \d{1}[-\s]?\d{4}[-\s]?\d{5}[-\s]?\d{2}[-\s]?\d{1}Explanation: digit → optional dash/space → 4 digits → ... → 1 digitUser: 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