Replace Text Between
Replace whatever sits between two markers, such as ?ref= and a quote, in every text field on the page at once.
On this page7 sections
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.

ref value in every link of a post's HTML. The popup reports 4 occurrences replaced.Getting started
- Install Replace Text Between and open a page with editable fields.
- Click the toolbar icon and enter start/end characters (for example
{{and}}). - Type the replacement inner text.
- 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 are remembered for next time.
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.

?ref= and the closing quote changes. The markers and the rest of each link stay as they were.Fields scanned
Replace All walks text inputs (text, search, email, url, tel), textareas, and contenteditable regions. The content script injects on demand with retries. It does not run on the same restricted pages as Find & Replace: Chrome's own pages, the Chrome Web Store and other add-on stores.
WARNING
In rich text editors, replacing text can remove formatting such as bold, italics or links inside that field. Try it on a copy first.
Features
- Delimiter-based replace: Non-greedy match preserves start/end markers.
- Multi-field scan: Processes every matching editable field on the page at once, visible or not.
- 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.
Troubleshooting
Nothing was replaced
Check that the start and end markers match the text exactly, including case. Spaces at the start or end of a marker are trimmed, and both markers must be on the same line.
It replaced too little
Each match stops at the first end marker after a start marker. If your text has the end marker inside it, pick a more unique end marker.
The popup says it cannot reach the page
Reload the page and try again. Pages made with heavy script editors sometimes need one reload after installing.
My formatting disappeared
Rich text editors can lose bold or links in a replaced field. Undo with Ctrl+Z where the editor supports it.
Still stuck? Open a support ticket with the page address and what you expected to happen.