← Prompt Library / Engineering

Engineering

Regex Builder & Explainer

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.

regex tools explanation

Run this prompt with your real data

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 Week

More Engineering prompts

Pragmatic Code Reviewer

Review a diff for correctness, security, and readability issues.

Explain This Code

Get a plain-English walkthrough of unfamiliar code.

Write Unit Tests

Generate thorough unit tests for a function.

Debug Assistant

Diagnose an error systematically: likely causes ranked with reasoning, the cheapest test for each, a...

Regex Builder

Build a regular expression from a plain-English requirement — explained token by token, tested again...

SQL From a Question

Turn a plain-English data question into a working SQL query — with the assumptions stated, a readabl...