Searchlight
Tools
BlogAbout
Free SEO Audit
Back to home
๐Ÿ“ˆSEO & Analytics
๐Ÿ—‚๏ธText & Data
๐Ÿ”Encoders & Decoders
โšกGenerators
๐Ÿ”„Converters
๐Ÿ–ผ๏ธImage Tools
๐Ÿ“„PDF Tools
๐Ÿ’ปCode Tools
๐Ÿ”Regex & Parsing
๐ŸงฎCalculators
๐Ÿ—บ๏ธDiagrams
๐ŸŒNetwork & Web
โœ๏ธText Utilities
Word CounterCase ConverterText SorterDuplicate RemoverFind & ReplaceText ReverserSlugifyText to SpeechSpeech to Text
๐ŸŽจColor Tools
๐Ÿ”€Diff & Compare
148+ tools. OAuth is read-only.
Searchlight

148+ free SEO, developer, image, PDF, and productivity tools - no account needed.

Free ยท all tools included
Company
  • Blog
  • About
  • Free SEO Audit
Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 Searchlight. All rights reserved.

Read-only OAuth ยท No data reselling ยท Completely free

Find & Replace

Search and replace text with optional regex, case-sensitivity, and whole-word matching.


About this tool

Find and replace text across large documents instantly - supports plain text, regex patterns, case-sensitive/insensitive matching, and whole-word matching. Shows match count, highlights all occurrences, and previews replacements before applying. Handles the bulk text transformations that slow you down in standard text editors.

How to Find and Replace Text

  1. 1Paste your text into the input panel.
  2. 2Enter the search term in the 'Find' field.
  3. 3All matches are highlighted in the text.
  4. 4Enter the replacement string in the 'Replace' field.
  5. 5Click 'Replace All' to apply or 'Replace Next' to step through one at a time.

Frequently Asked Questions

How do I do a case-insensitive find and replace?+
Enable the 'Case insensitive' toggle. The search matches 'Apple', 'apple', and 'APPLE' equally. The replacement is applied to all matches regardless of their original case.
Can I use regex for find and replace?+
Yes. Enable 'Regex mode' and enter a regular expression pattern. For example, find \d{4}-\d{2}-\d{2} to match all dates in YYYY-MM-DD format. Use capture groups ($1, $2) in the replacement string.
What does whole word matching do?+
With whole word matching, searching for 'cat' won't match 'catfish' or 'concatenate'. It only matches the standalone word 'cat'. Equivalent to the word boundary in regex.
How do I replace line breaks or special characters?+
In regex mode, \n matches newline, \t matches tab, \r matches carriage return. To normalise line endings to Unix style, find \r\n and replace with \n.
Looking for a deeper guide on this topic? Browse the Searchlight blog.
Visit the blog โ†’

Related tools

View all Text Utilities โ†’
Word CounterCount words, characters, lines & reading timeCase ConvertercamelCase, snake_case, kebab-case & moreText SorterSort lines alphabetically, by length, or randomlyDuplicate RemoverRemove duplicate lines from text