Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
Log in
Preview of Find & Replace All

Find & Replace All by mnewton

Regex find & replace across all text on any page. Capture-group substitutions, variables, and JavaScript-evaluated values, with undo.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Find & replace ALL text on any webpage.
  • Full regex: capture groups, named groups, lookahead, i/m/s/u flags — or plain literal mode.
  • Substitutions: $1…$99, $& (whole match), $` / $' (around the match), $<name> (named group), $$.
  • Variables: use {{name}} in the replacement; define your own — values can be plain text or JavaScript.
  • Inline JS per match: {{= expr }} with match, g1…g9, groups, named, offset, i in scope.
  • Built-ins: {{date}} {{time}} {{datetime}} {{url}} {{host}} {{title}} {{rand}} {{i}} (match number).
  • Optional scopes: input fields & textareas, attributes (title, alt, placeholder, aria-label).
  • Count dry-run, multi-level undo, settings synced.

No background worker and no host permissions: it runs only on the tab you act on (activeTab).

Example — find (\d+) and replace with {{=Number(g1)*2}} doubles every number on the page.
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
More information
Add-on Links
  • Copy add-on ID
Version
1.0.0
Size
22.38 KB
Last updated
15 days ago (Sep 20, 2026)
Related Categories
  • Web Development
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.