Assemble a regular expression from documented building blocks — each one explained in plain English — then test it live with highlighted matches.
Click a block to append it to your pattern.
^→Start of string/line\d→Any digit (0–9)+→Previous: 1 or more times$→End of string/lineMost regex bugs are single-character slips — an unescaped dot, a quantifier on the wrong atom. Documented blocks make each piece deliberate and reviewable.
^ and $ turn "contains" into "is exactly". Validation patterns usually want both; search patterns usually want neither. Pick on purpose.
The copy button gives you /pattern/flags form — paste it straight into JavaScript, or drop the slashes for Python, PHP or grep.
Click building blocks to assemble your pattern — each appends its documented piece.
The panel below the pattern explains every block in plain English, in order.
Toggle g/i/m/s to match how your code will actually run the pattern.
Type or paste real test text — matches highlight instantly with a count. Click a block to remove it.
JavaScript regex syntax — most engines agree on the basics, but check your language's docs for advanced features.
Text & Developer Tools
Test regular expressions live with match highlighting, capture groups, find-and-replace, flags, and a cheat sheet. Free online regex tester.
Text & Developer Tools
Compare two texts line by line and see exactly what changed — additions in green, removals in red. Free — Your input is processed in your browser and is not stored by us.
Text & Developer Tools
Turn rough prompts into structured ROLE / TASK / CONSTRAINTS / FORMAT prompts with a deterministic template — plus a 5-point prompt health check.
Text & Developer Tools
Estimate token counts for your text, preview GPT-4o / Claude / Gemini API costs, and check usage against 128K and 200K context windows.
Text & Developer Tools
Catch double spaces, repeated words, common misspellings, a/an errors, and commonly confused words with a free basic grammar check. Private, runs in your browser.
Need a custom tool?
We build calculators and internal tools for businesses — get in touch.
Directory last updated 2 December 2026.
Disclaimer: uses JavaScript regex syntax — behaviour of exotic features can differ between languages. Always test the final pattern in your actual runtime.