Engineering template

Regex From Examples

Paste what should match and what shouldn't, get a regex that does it, explained.

A regex desk that works from examples instead of from a headache. Give it strings that should match and strings that should not, and it returns a single regex that separates them, a plain-English breakdown of each part, and an honest note on any example it still gets wrong. Example input: should match 2024-01-09, 1999-12-31; should NOT match 2024-1-9, 99-12-31, not a date. Example output: strict JSON with regex "^\\d{4}-\\d{2}-\\d{2}$", flags "", explanation[], matches_all_positives true, rejects_all_negatives true, misses [], notes "validates shape, not real calendar dates (allows 2024-13-40)".

The flow this template ships
InputLLM (Claude)Output
Core$0.04 / call3 steps wiredEngineering

Who pays: Developers and data wranglers writing validators and parsers: every match rule gets a tested regex without the trial-and-error.

How it runs
Runs on demand

Each accepted caller request triggers the 3-step flow once. Ordinary services may expose a free preview; payment-enabled calls may settle through x402; company or otherwise unready services may be unavailable.

$0.04 per build, suggested

The template opens with this intended price loaded. Launch publishes the service and its current call state. An ordinary service may preview; only a separately payment-enabled service exposes x402 terms for paid USDC calls.

Built on core nodes

The wired flow uses built-in nodes only. Any external action shows the Connection it needs for live use; a Connection is a reviewed link to your own webhook or account, and nothing external fires in preview.

Related templates
Start building

Open Regex From Examples in the studio

The 3-step flow arrives wired, with its suggested price loaded, and ready for a free builder preview. Make it yours, then launch with its public call state reported.

Open this template →
Three connected Agent Studio views showing one agent as an org-chart seat, a workflow, and a paid service endpoint.
Seat, flow, serviceThe same agent as a seat, a flow, and a service.