Regex · On this device

Regex replace

Replace with a pattern. $1 groups are allowed.

  1. ไฟล์หรือวาง
  2. พรีวิว
  3. ดาวน์โหลด

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

ทำอะไร

Replace with a pattern. $1 groups are allowed.

วิธีใช้

Enter the pattern and replacement.

ได้อะไร

A rewritten draft. Copy it locally.

ตัวเลือกและเปรียบเทียบ

JavaScript replacement syntax.

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

ข้อจำกัด

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.