Home / Convert / Regex Find & Replace

Regex Find and Replace Online

Transform text with regular expressions, optional flags, and capture groups such as $1.

Processed locally in your browser. Nothing is uploaded.

Your text
0 lines · 0 characters

Changed text

.*
Your transformed text will appear here.

Invalid patterns are reported before anything changes.

Advertisement
Reserved for a future ad placement

How it works

JavaScript regular-expression syntax is used. Replacement text can reference captured groups.

Common uses

  • Reformat IDs and dates
  • Clean structured data
  • Bulk code changes

Use with care

Test complex expressions on sample data before processing important text.