Regex Tester

Write a regular expression, see what it matches, read it in plain words and take it to your code: .NET, JavaScript, Go and more.

Regex Tester

Flavor

Test text

Every part of the pattern in plain words. Hover a line to light it in the pattern and in the text.

© 2026 Cengiz Ilerler

  • Engines differ: .NET and JavaScript take a lookbehind of any length, Python’s needs a fixed length and Java’s a bounded one, and Go and Rust have no lookbehind or backreferences at all.
  • In code, a backslash in the pattern is doubled in a normal string: use C#'s @“…”, Python’s r"…" or Go’s back quotes.
  • Patterns with nested quantifiers like (a+)+ can take forever on the wrong text: .NET lets you set a match timeout.
  • Every flavor is its real engine, in your browser: JavaScript’s own, .NET 10’s Regex, PCRE2, CPython’s re, Go’s regexp, Rust’s regex and Java’s java.util.regex, never one imitating another. A run stops after 2 seconds and names the line it stalled on.

More tools

Keep exploring.

All tools

Markdown Editor

Write Markdown and see it as you type, with GitHub alerts, tables, tasks, math, Mermaid and PlantUML.

Text Compare

Two texts or files side by side, every change lined up to the character.

Code Practice

Puzzles that compile, to keep a developer's mind sharp.