Skip to main content
CodingCurated

Regex Builder and Explainer

When you need a regex you can actually defend in code review.

The prompt
I need a regex that matches [describe pattern, e.g. 'US phone numbers with or without country code']. Write the regex, then explain each group and quantifier, and provide 3 strings that match and 3 that should not.

Anything in square brackets is meant to be replaced. The builder turns those into fields you can type into.

Tired of re-pasting the same context into every new chat? That is what the Unimatrix MCP server is for.

Browse the rest of the library