woori.today
Family Sites

Regex Replace Tool

Regex Replace Tool — Enter code or structured data, then set the format, pattern, or conversion direction.

This tool runs in your browser. Inputs are not sent to a server.

How it works

Applies global replacement using a /pattern/flags expression. Backreferences and risky nested quantifiers are blocked; pattern and sample lengths are capped.

A practical use

With /cat/i, sample Cat cat, and replacement dog, the output is dog dog.

When something goes wrong

Simplify invalid or blocked patterns and shorten samples beyond 20,000 characters.

Tool-specific question

Can I use a $1 backreference?

No. Backreferences are intentionally rejected.

How to use

  1. Enter an input or choose settings; you can start with cat, replace with dog.
  2. Enter code or structured data, then set the format, pattern, or conversion direction.
  3. Run Regex Replace Tool, then compare the result with the example dog before copying or downloading it.

Options

The input area shows the accepted format and available controls for this tool.

Privacy

No. Your input is handled in the browser you are using. Privacy

Related tools