← Prompt Library / Engineering
Build a regex from a plain-English description with test cases — or decode an inherited one token by token, including what it wrongly matches.
Regex task: {{task}} (either 'build: match X but not Y, in {{language}}' with examples, or 'explain: {{pattern}}').
If building: the pattern, a token-by-token explanation, matching AND non-matching test cases including sneaky near-misses, the flavour-specific gotchas for my language, and the honest note if regex is the wrong tool (nested structures, HTML) with the better alternative. If explaining: decode each token, describe the intended match in plain English, then the interesting part — inputs it PROBABLY wasn't meant to match but does, and inputs it misses.
Fields like {{ this }} are placeholders — replace them with your own details, or let Aria ask you for them.
This prompt runs with Aria connected to your email, files, CRM and 40+ other services — and you can schedule it to run automatically.
Start Free WeekReview a diff for correctness, security, and readability issues.
Get a plain-English walkthrough of unfamiliar code.
Generate thorough unit tests for a function.
Diagnose an error systematically: likely causes ranked with reasoning, the cheapest test for each, a...
Build a regular expression from a plain-English requirement — explained token by token, tested again...
Turn a plain-English data question into a working SQL query — with the assumptions stated, a readabl...