Here's my regex: [regex] meant to match [description]. Generate 15 test strings that should match and 15 that shouldn't, including edge cases. Tell me which ones my regex gets wrong and suggest a fixed version.
Results for “regex”
All tools
ChatGPT
Claude
Gemini
Midjourney
DALL·E
Stable Diffusion
Flux
Copilot
Runway
Sora
Veo
Kling
Suno
Udio
ElevenLabs
Other
2 prompts
Act as a regular expression expert. Regex flavour: [JavaScript / Python / PHP (PCRE) / Java / .NET] What I need to match: [describe, e.g. UK postcodes, dates in DD/MM/YYYY, URLs without query strings] Should match: [examples] Should NOT match: [examples] Please give: 1. The regex 2. A token-by-token explanation in pla…
Coding & Development
Regex generator with plain-English explanation
Describe the pattern you need and get a tested regular expression, a token-by-token explanation, and examples that match and don't.