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.