Build and explain a regex
A regex you'll actually understand and trust, with test cases.
Write a regular expression that {{requirement}}. Then: explain it token by token in a table, give 5 test strings that should match and 5 that shouldn't, point out the classic edge case most people miss for this pattern, and provide the same regex adapted for JavaScript, Python and PostgreSQL if they differ.
askai.fyi/@askai/build-and-explain-a-regex
Almost there! Just one quick field and I'll unlock the buttons.
1 field left to unlock this prompt
or take it elsewhereClaude
Got prompts worth sharing?
Turn any prompt into a link like this one — takes 30 seconds.
Make your own, free →