Generate a regex from a plain-English description
Plain-English in, ready-to-paste regex out. Includes a walkthrough, test results against your sample inputs, and known limitations.
Fill in the Template
0 / 4 filledYour Built Prompt
Updates live as you typeBuild me a regex.
What I want it to match: {{match_description}}
What I do NOT want it to match (counter-examples): {{do_not_match}}
Where I'll use it: {{context}} (e.g. Google Sheets REGEXEXTRACT, JavaScript, Notion 'Find', Zapier filter)
Sample inputs to test against (optional): {{sample_inputs}}
Return:
1. THE REGEX, ready to paste — formatted for {{context}}.
2. PLAIN-ENGLISH walkthrough of what each part does.
3. TEST RESULTS: for each sample input, "matches" or "doesn't match" with one-line reasoning.
4. KNOWN LIMITATIONS: 1–2 edge cases that'll slip through.
Choose the SIMPLEST regex that does the job. Don't over-engineer.Fill in the required fields above to copy or run this prompt.
Tags
Community Feedback
0 commentsRelated Prompts
More in CodingWrite a Zapier filter step from a plain-English condition
Plain-English condition in, Zapier-UI-ready filter step out. Names operators exactly as Zapier shows them and warns about the case-sensitivity / blank-value gotchas that fail in production.
Custom code embed for Webflow / Squarespace / Wix
Custom-code embed for Webflow, Squarespace, or Wix — paste-ready, with exact placement steps for that platform and the most common gotcha.
Read & explain an API response in plain English
Paste a raw API response, get a field-by-field plain-English walkthrough plus which fields you actually need to use. Saves an hour of API doc reading.
Google Apps Script for Sheets — automate a recurring task
Google Apps Script that does one specific thing on your Sheet, with the setup steps + a test row to verify before you turn the trigger on.