Find & Replace
Bulk find-and-replace across pasted text. Supports literal text search, regular expressions, case-sensitive matching, and whole word boundaries. See match counts in real time. All processing happens in your browser.
How It Works
Paste your text
Enter or paste the text you want to search through into the input area.
Enter search and replacement
Type what to find and what to replace it with. Toggle regex, case sensitivity, or whole word options as needed.
Copy the result
The replaced text appears instantly. Copy it to your clipboard with one click.
Frequently Asked Questions
Does this tool support regular expressions?
Yes. Enable the 'Use Regex' option to write patterns using JavaScript regular expression syntax. Capture group references like $1 and $2 work in the replacement field.
What does Whole Word matching do?
When enabled, the search term only matches complete words bounded by word boundaries. For example, searching for 'the' will not match 'there' or 'other'.
Is the search case-sensitive by default?
No. By default, the search is case-insensitive. Toggle the 'Case Sensitive' option to match exact casing.
Can I use this to delete text?
Yes. Leave the 'Replace with' field empty and all matches will be removed from the text.
Does Whole Word work with non-Latin scripts?
Whole Word matching uses word boundary markers (\b) which work best with Latin-based alphabets. For CJK and some other scripts, word boundaries may not behave as expected. Use regex mode for more precise control over non-Latin text matching.
Related Tools
Regex Tester
Test regular expressions with real-time matching and highlighting.
Case Converter
Convert text between UPPERCASE, lowercase, camelCase, snake_case, and more.
Sort Lines
NewSort, shuffle, deduplicate, and reorder lines of text alphabetically, numerically, or by length.