Regex Tester

Free

by RegexPlanet

Provided by RegexPlanet

Not yet rated
Platform
Web
Pricing
Free
Account required
No
Ads
Light
Last verified
12 hours ago
Developer
RegexPlanet
Official URL

Overview

RegexPlanet is an online regular expression tester built around one idea: a pattern should be tested in the engine that will actually run it. Instead of a single JavaScript-based tester, it has a separate page for each language, including Go, Java, .NET, Node.js, Bun, Deno, Perl, PHP, Python, Ruby, Rust, Swift, Tcl, MySQL, PostgreSQL, XRegExp and your own browser.

Each tester page gives you fields for the pattern, an optional replacement string, the flags that engine supports (for Python, options such as IGNORECASE, MULTILINE, DOTALL and VERBOSE) and as many test inputs as you need. It links to the language's own regex documentation, and a Switch Engines option lets you rerun the same test elsewhere, which is handy when porting a pattern between languages.

The site is free, has no sign-in, and its current front end is published on GitHub under the AGPL licence. The privacy policy lists Google AdSense among the services it uses.

Screenshots

Features

  • Separate testers for about 17 engines, from Go, Java and .NET to Perl, PHP, Python, Ruby and Rust
  • Database regex testers for MySQL and PostgreSQL
  • Pattern, replacement string and engine-specific flags on each page
  • Add several test inputs and check them in one run
  • Switch Engines option to rerun a pattern in another language
  • Share codes for passing a regex to someone else
  • Engine status page noting engines vulnerable to runaway patterns

Privacy

The privacy policy says the site collects your IP address, user agent and anything entered into its forms, and that raw logs are kept by its cloud host. It lists Google Analytics and Google AdSense among the third-party services used.

Pros & Cons

Pros

  • Tests against the real engine for each language, not an emulation
  • Covers unusual targets such as Tcl, MySQL and PostgreSQL
  • No account needed
  • Front-end source is open on GitHub

Cons

  • Each engine has its own page, so comparing languages means switching between testers
  • No pattern explainer or step-by-step debugger on the tester pages
  • The privacy policy says it collects what you type into forms, so avoid pasting sensitive data
  • Ad-supported, according to its privacy policy

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • Regex101 Editor's Pick
    Regex Tools

    An interactive regular expression tester with live explanations.

    Not yet rated
    Freemium Web API
  • Tests and debugs regular expressions with detailed match explanations.

    Not yet rated
    Freemium Web
  • Regex Tools · Debuggex

    Visualizes regular expressions as railroad diagrams.

    Not yet rated
    Freemium Web
  • Regex Tools · Regex Tester

    Tests and debugs regular expressions.

    Not yet rated
    Free Web