HomePortfolioExtensionsGamesAbout
Extension

Replace Text Between

Target and swap content between delimiters or characters.

Add to Chrome

Replace everything between custom start and end delimiters inside editable fields across a page while keeping the delimiters intact. Ideal for template placeholders like {{name}} in forms.

TIP

Both start and end delimiters are required before Replace All runs. Values persist between sessions.

Getting started

  1. Install Replace Text Between and open a page with editable fields.
  2. Click the toolbar icon and enter start/end characters (for example {{ and }}).
  3. Type the replacement inner text.
  4. Click Replace All and read the status line for the match count.

Delimiter fields

  • Starting character (placeholder example: {{)
  • Ending character (placeholder example: }})
  • Replace inner text with becomes the new content between markers

All three values persist in chrome.storage.local as delimStart, delimEnd, and delimReplaceText.

How replacement works

The extension builds a non-greedy global regex from your escaped start and end strings, captures the inner text, and substitutes your replacement while leaving the delimiters untouched. Status messages report Replaced N occurrence(s) or explain when nothing matched.

Fields scanned

Replace All walks text inputs (text, search, email, url, tel), textareas, and contenteditable regions. The content script injects on demand with retries. Restricted URLs match the same block list as Find & Replace.

WARNING

Contenteditable fields use textContent replacement, which can remove inline HTML formatting.

Features

  • Delimiter-based replace: Non-greedy match preserves start/end markers.
  • Multi-field scan: Processes all visible editable fields at once.
  • Persisted inputs: Delimiters and replacement text saved between sessions.
  • Match reporting: Shows replacement count or a no-match message.
  • Restricted URL guard: Blocks chrome:// and similar pages.
  • On-demand inject: Content script injected when needed.

Privacy

Delimiter values and replacement text stay in extension local storage. Page content is processed locally.

See the Apps & Extensions Policy and Privacy Policy for company-wide details.

Need help?

If nothing changes, confirm delimiters match exactly (including spaces) and that fields are editable. Reload dynamic editors if the popup cannot reach the content script.

Contact us via the support page if you need more assistance.