Build and debug regular expressions with live match highlighting, capture-group inspection, find-and-replace, flags, and an instant cheat sheet.
\dAny digit (0–9)\wWord character (a–z, 0–9, _)\sWhitespace (space, tab, newline).Any character except newline*0 or more of the previous+1 or more of the previous?0 or 1 of the previous (optional){n,m}Between n and m repetitions^Start of string / line (with m)$End of string / line (with m)[abc]Any of a, b, c[^abc]Anything except a, b, c( )Capture group — referenced as $1, $2…(?: )Non-capturing groupa|ba or b\bWord boundary$&In replacement: the whole match$1In replacement: capture group 1Enter the regular expression body (without slashes). Invalid patterns show the exact JavaScript error instantly.
Toggle g for all matches, i for case-insensitive, m for multiline ^ and $ behavior.
Matches highlight in amber as you type, with a full list of matches, indexes and capture groups below.
Add a replacement string with $1/$& tokens to preview find-and-replace before using it in code.
Uses your browser's JavaScript RegExp engine — the same engine your web code runs, so results transfer 1:1 to production.
Once your regex has pulled values from logs or text, validate and pretty-print the result before feeding it to an API.
Try the JSON FormatterText & Developer Tools
Build regular expressions from visual token blocks with plain-English explanations, then test live against your own text with highlighted matches. Free, no sign-up. 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.
Text & Developer Tools
Count characters with and without spaces, and check how much room you have left against tweet, meta title, meta description, and SMS limits. Free and private.
Need a custom tool?
We build calculators and internal tools for businesses — get in touch.
Directory last updated 2 December 2026.
Disclaimer: This tester uses JavaScript (ECMAScript) regex syntax. Flavors like PCRE (PHP), Python re, and .NET differ in details — always re-test patterns in the target language before shipping to production.