Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

Find and Replace

Search a draft or a log, replace phrases or use a regular expression, and see how many matches you will change before you apply them.

Runs in your browserMatch countNothing saved or sent
1

Text, find & replace

Limits

  • A regular expression that backtracks heavily can freeze the tab. If the page becomes slow, make the pattern more specific or work on a smaller slice of text.
  • Lookbehind and Unicode property escapes need a current browser; very old browsers may reject some patterns.
  • There is no “undo” stack beyond the original text remaining in the input until you overwrite it.
  • Very large pastes (over about 500,000 characters) are refused so the tab does not freeze. Split the work into smaller pieces if you hit that limit.
2

Result

How to use Find & Replace

  1. Paste textPaste the text or load a local file.
  2. Set find and replaceType the search and replacement. Optionally use a regular expression, ignore case, or match whole words.
  3. Replace or copyReview the match count, replace all (or step through one by one), then copy or download the result.

Plain text or regular expressions

In plain mode, the find box is taken literally — including punctuation and spaces. In regex mode, JavaScript regular expressions are used (the same engine as your browser). Replacement patterns such as $1 and $& work in regex mode only.

Whole-word mode wraps the query so it must fall on Unicode letter/number boundaries. It can be combined with regex, but a pattern that already includes its own anchors may then match less than you expect.

Frequently asked questions

Are regular expressions “global” by default?

Replace all uses a global search. The match count also lists every match. Replace one changes only the current match, then moves to the next.

Is my text sent anywhere?

No. Everything runs in your browser tab with JavaScript. Nothing you type or paste is uploaded, logged or stored on our servers.

Does “ignore case” work with Unicode?

It uses the regex i flag (and u when possible). Case folding follows the JavaScript engine, which covers many, but not all, language-specific mappings.

Can I replace across several files?

No. This tool works on one text at a time. Load each file in turn, or combine them first.

Related tools

All tools