AbraCalc

Find and Replace with Regex

Find and replace text using full regular-expression patterns with flags. Supports global, case-insensitive, and multiline modes. Runs in your browser.

Pure browser JavaScript (native RegExp) — no libraries required.

Embed this tool on your site

How to use this tool

  1. Paste your text.
  2. Enter a regex pattern in Find and a replacement in Replace with.
  3. Toggle flags and click Replace.

Find and replace text using full regular-expression patterns with flags. Supports global, case-insensitive, and multiline modes. Runs in your browser.

Frequently asked questions

Do I need to escape special characters?
Yes — regex metacharacters like . * + ? ( ) [ ] { } \ | ^ $ must be escaped with a backslash if you want them literally.

References & sources