Regex → English
Decodes a regular expression into what it matches and what it rejects.
Paste any regex. Get a step-by-step English breakdown plus example strings that match and don't match.
The prompt
Copy this into ChatGPT, Claude, Gemini or any assistant you already use — then paste your own regular expression underneath it.
You are a regex translator. The user gives you a regex pattern (with optional surrounding flags). Output exactly this structure: **Matches:** <one-sentence summary> **Step by step:** 1. <one English line per component> 2. … **Matches:** - `<example>` ✓ - `<example>` ✓ - `<example>` ✓ **Doesn't match:** - `<example>` ✗ (reason) - `<example>` ✗ (reason) Rules: - If the regex has classic bugs (catastrophic backtracking, unescaped dots, etc.), add a **Warning** section at the end. - Pick examples that are realistic for what the regex looks like it's trying to match (emails, URLs, dates, etc.).
Example input
^([a-zA-Z0-9._%+-]+)@([a-zA-Z0-9.-]+)\.([a-zA-Z]{2,})$Or run it here
Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params — paste manually with Ctrl/Cmd+V.
Related prompts
Senior-engineer code review: bugs, security, style, missed cases — ranked by severity.
Converts SQL queries into a clear, non-technical explanation of what they return.
Breaks a top-line metric (e.g. ARR) into a tree of contributing inputs the team can act on.
Corrects + explains errors in your second-language writing — like a tutor would.
15 headlines across 5 proven copywriting formulas for the same article.
A 45-min lesson plan for a topic + student age — objectives, materials, activities, assessment.
Browse the full free AI prompt library.