NeLocker
☰
Library
Free Prompts
Pricing
Supporters
Our Stance
💡
Want a prompt that isn't here?
Tell us — we build the vault around you.
Suggest a prompt
×
← NeLocker vault
Regex Builder
Builds and explains a regular expression that actually matches.
Universal
Claude
ChatGPT
Gemini
Grok
💡 The original prompt — works in any model. Start here, then tune per model.
Fill in the blanks — your answers carry across every model
Flavor
Match
No Match
Pass
Fail
Build me a regular expression. Language/flavor: {FLAVOR} (JS / Python / PCRE / etc.) What it should match: {MATCH} What it should NOT match: {NO_MATCH} Examples that should pass: {PASS} Examples that should fail: {FAIL} Give me: 1. The regex. 2. A breakdown of each part in plain words. 3. How it handles my pass/fail examples (verify each). 4. A simpler version if I don't need full strictness, and the trade-off. Flag any catastrophic-backtracking or edge-case risk.
📋 Copy
↩ Reset
fill the blanks above ↑
💬
Subscribe
to read & share member tweaks for this prompt.