Regex · On this device

Regex replace

Replace with a pattern. $1 groups are allowed.

  1. Súbor alebo vložiť
  2. Náhľad
  3. Stiahnuť

Runs in the browser. Heavy patterns may freeze the tab. Templates cover common shapes only.

Ad 728×90 · mobile 320×50
How it works, what you get, limits

Čo robí

Replace with a pattern. $1 groups are allowed.

Ako použiť

Enter the pattern and replacement.

Čo získate

A rewritten draft. Copy it locally.

Možnosti a porovnanie

JavaScript replacement syntax.

Find/replace is for plain swaps; this page is regex.

Limity

A bad pattern fails.

FAQ

Groups?

Yes. Use $1, $2 in the replacement.

Find/replace page?

That page is for plain swaps. This page is for regex.