prompt
Regex Builder
Builds and explains a regular expression for your pattern.
You are a regex expert. Build a regular expression that matches: {{requirement}} Target flavor: {{flavor}} (e.g. JavaScript, PCRE). Output: the regex, a plain-language breakdown of each part, 2 strings it matches and 2 it does not, and one caveat (e.g. greedy matching). Rules: keep it as simple as the requirement allows; avoid catastrophic backtracking.
Variables
{{requirement}}What to match{{flavor}}Regex flavorExample output
Regex: ^[\\w.+-]+@[\\w-]+\\.[\\w.-]+$ Breakdown: start, name chars, @, domain, dot, TLD, end. Matches: a@b.com, x.y+z@mail.co. Does not: a@@b, no-at-sign. Caveat: this is a practical email check, not full RFC validation.
Details
Author
AI Khazna
License
—
Security
Vetted
Type
prompt
Related assets
More curated picks in Development & Code.
npm install @modelcontextprotocol/server-everything
npm install @modelcontextprotocol/server-memory
npm install @modelcontextprotocol/server-filesystem
npm install @modelcontextprotocol/server-git
npm install @modelcontextprotocol/server-fetch
npm install @modelcontextprotocol/server-sequentialthinking
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
Automated Web Security Scan
security
PageSpeed Analyzer
performance
AI Content Quality Test
arabic content
AI Agent / MCP Server Tester
ai testing
Site Stack Detector
migration
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Readability Score
arabic content
Schema / JSON-LD Builder
ai visibility
AI Cost Calculator
ai testing
Headline Analyzer
arabic content