Replace Text


Create a Text Replacement Rule

  1. Open the Demohacks side panel by clicking the extension icon
  2. Select Replace Text from the toolbox
  3. Click the + button at the bottom to create a new rule
  4. Enter a Title for your rule (optional)
  5. Enter the Default Text you want to replace
  6. Enter the Replacement text
  7. Optionally add a URL Filter to limit the rule to specific pages (e.g., example.com/dashboard)

Replace Multiple Texts at Once

Use custom text replacement rules to replace multiple texts in one rule:

  1. Select Custom from the toolbox
  2. Choose Text Replacements as the rule type
  3. Enter replacements using the format:
Old text = New text
Another text = Replacement text

Each replacement should be on its own line.

How It Works

Text replacement applies in real time when demo mode is enabled. The extension:

  • Replaces text in page content, titles, and form inputs
  • Handles dynamic content that loads after page load
  • Works across single-page applications (SPAs)

Tips

  • Use exact matches: the replacement looks for the exact “Default Text” you specify
  • Case-sensitive: “Hello” and “hello” are treated as different texts
  • URL filters use pattern matching: example.com matches all pages on that domain
  • Leave replacement empty to remove text entirely (only in custom text rules)