🧰Locly

Find and Replace Text Online

Find and replace text with optional regex and case options

About This Tool

Find & Replace searches your text and replaces matches. You can use plain text or regular expressions and choose case sensitivity. A preview shows how many replacements will occur. Everything is processed locally in your browser.

How to Use

  1. Paste your source text
  2. Enter the find string or regex
  3. Optionally enable regex or case sensitivity
  4. Preview the match count or apply replace
  5. Copy the result

Common Use Cases

  • Bulk edit drafts
  • Clean repeated phrases
  • Regex cleanup of logs
  • Normalize spacing tokens
  • Prepare CSV text fields

FAQ

Q1: Is my text uploaded?

No. Find and replace is processed locally in your browser.

Q2: What if Find is empty?

Replacement is blocked until you enter text or a pattern to find.

Q3: Does regex support flags?

Global matching is always on. Case sensitivity is controlled by the checkbox.

Q4: Can I preview before applying?

Yes. Preview count shows how many matches will be replaced.

Q5: Are captures supported?

Standard JavaScript regex replacement strings are supported in regex mode.

Related Tools