Skip to the pattern
RegexCraft
A free tool by Nor AI

Regex tester with plain-English explanations

Point at any part to see what it matched and what it means. Runs in your browser; nothing is uploaded.

JavaScript syntax

Loading the matching engine…

Reading the pattern…

Loading the engine124 charactersJavaScript (ECMAScript) regex

Ready-made patterns

Each one opens in the tester with sample text, or read its page for what it matches, what it deliberately doesn’t, and code in four languages.

What runs where

The tester runs JavaScript regex. Python, Go and Rust code is a translation: open the table before you paste into Go or Rust.

FeatureJavaScriptPython reGo regexpRust regex
Tested on this pageYes, your browser runs itNo, translatedNo, translatedNo, translated
Named groups(?<name>…)(?P<name>…), rewritten for you(?P<name>…) or (?<name>…)(?P<name>…) or (?<name>…)
Lookahead, lookbehindYesYes (lookbehind fixed width)NoNo
BackreferencesYesYesNoNo
Atomic groups, possessiveNoYes, 3.11+NoNo
Linear-time guaranteeNoNoYesYes
Flagsg i m s u yre.I re.M re.Sinline (?i)(?m)(?s)inline or RegexBuilder

Where RegexCraft fits, and where it doesn’t

Compared by kind of tool, not by brand. If you need to run PCRE or .NET exactly, a multi-flavour tester is the better pick; RegexCraft is for understanding a JavaScript pattern quickly.

What you needRegexCraftMulti-flavour online testersDiagram-only visualisersAsking a chat assistant
Point at a group: its characters, captures and explanation light togetherYesIn the pattern, text, table and explanationPartlySome link the explanation to the pattern; matches sit in another panelNoNo test textNoProse answer
Same explanation every timeYesDeterministic parserYesDeterministicPartlyDiagram onlyNoAnswers vary; check them
Run the engine you deploy (PCRE, Python, .NET, Java)NoJavaScript only; others translated with warningsYesMany flavoursNoNo matchingNoIt predicts, it doesn't run
Step-through debuggerNoNot offeredPartlySome have oneNo—No—
Railroad diagramYesBuilt inPartlySomeYesThat's the jobNo—
Text stays on your deviceYesWeb Worker, no requestsPartlyMost match in the browserYesUsuallyNoSent to the model provider
No account, no adsYesAccount only for the 4-language downloadPartlyVariesYesUsuallyPartlyAccount usually needed

Questions

Is my pattern or text sent anywhere?

No. Matching, the explanation, the diagram and the code are all computed in a Web Worker inside your browser tab. The page makes no network request with what you type. Your last pattern, text, flags and language are kept in this browser's local storage so they are there when you come back; clearing site data removes them.

Which regex flavour does RegexCraft run?

JavaScript (ECMAScript), using your browser's own RegExp engine, so results match what Node.js and browsers do. The Python, Go and Rust code is a translation: RegexCraft rewrites named groups for Python and warns about lookarounds and backreferences for Go and Rust, but it does not execute those engines. If you need PCRE, .NET or Java semantics, test in a tool that runs them.

How is the plain-English explanation made?

A hand-written parser reads the pattern into a syntax tree and describes each node: groups, character classes, quantifiers, anchors, lookarounds and backreferences. There is no language model involved, so the same pattern always gets the same explanation, and every line points back at the exact characters it describes.

What does pointing at a part of the pattern do?

Hover or put the caret on any part of the pattern, any highlighted text, any explanation line or any table cell. The same thing lights everywhere: the characters in the pattern, what that group captured in every match, and the line that explains it. Clicking a match in the table scrolls the text to it.

What happens with catastrophic backtracking?

Matching runs in a Web Worker, so a runaway pattern cannot freeze the page. Once the engine has started a match, it gets 1.5 seconds; if it is still running, the worker is stopped, replaced, and you are told the pattern kept backtracking. The timer starts only when the engine has actually begun, so a slow device loading the page never triggers a false warning.

Is there a limit on text size?

The tester reads the first 100,000 characters and lists up to 1,000 matches. When it stops at the match limit it says so, rather than showing a partial count as if it were complete.

Do I need an account?

No. Testing, the explanation, the diagram and copying code in any of the four languages are free with no sign-in. A free Nor AI account is only asked for when you download all four languages as one Markdown file.

Built by Nor AI

RegexCraft is a free tool from Nor AI Technologies, an engineering studio in Ghazipur, Uttar Pradesh. We build custom AI, web and 3D software that runs in your own infrastructure, and you keep the code.

Need pattern validation or extraction built into your own pipeline? You talk to the engineers who write the code.