Find and Replace
Find and replace text, with optional case-sensitivity and regex support.
This tool runs entirely in your browser. Your files are never uploaded to a server.
Paste your text, enter what to find and what to replace it with, and instantly see the result — with optional case-sensitive matching and full regular expression support for advanced patterns.
Frequently Asked Questions
- Can I use regular expressions?
- Yes, tick 'Use regex' to treat the find field as a regular expression pattern, including capture groups referenced in the replacement.
- Is the search case-sensitive by default?
- Yes, case-sensitive matching is on by default; untick the option to ignore case.
- What happens with an invalid regex?
- An error message is shown and the original text is left unchanged until the pattern is fixed.
Related Tools
Remove Duplicate Lines
Keep only the first occurrence of each line in a text block.
Text Diff Checker
Compare two blocks of text and highlight the differences, for free.
Regex Tester
Test JavaScript regular expressions against text for free, with live highlighting.
Alternating Case Converter
Convert text into alternating upper and lower case, letter by letter.
Bold Text Generator
Transform regular text with the Bold Text Generator using copyable Unicode characters for profiles, posts and messages.
Bubble Text Generator
Transform regular text with the Bubble Text Generator using copyable Unicode characters for profiles, posts and messages.