Regex Tools

Test and debug regular expressions across multiple engines

Multi-Engine Regex Tester

Test patterns across JavaScript, RE2, PCRE, POSIX ERE, and .NET regex engines

Open Tool

Supported Engines

  • .NET (C#/PowerShell) WASM - C#, PowerShell, Visual Studio
  • ECMAScript (JavaScript) JS - Browser apps, Node.js, TypeScript
  • RE2 (Google) WASM - Safe for user-supplied patterns, Go applications
  • PCRE2 (Perl Compatible) WASM - PHP, VS Code, Notepad++, nginx, grep -P
  • POSIX ERE WASM - grep -E, sed -E, awk, shell scripting

WASM = WebAssembly (native engine compiled to browser)   JS = Browser's native JavaScript regex

Features

  • Real-time pattern matching with highlighting
  • Capture group extraction (including named groups)
  • Engine-specific flags and syntax reference
  • Engine-specific example patterns
  • Compatibility warnings for cross-engine differences
  • Replace functionality with backreferences