Find & Replace
Find and replace text in documents, lists, code, and logs. Use plain-text searches or regular expressions to update matching content.
Source Text
256 characters • 4 lines
Results & Previews
2 matches found • 2 replaced
Original Matches
The quick brown fox jumps over the lazy dog. Colour is spelled colour in British English, but color in American English. There are vibrant colours and colorful designs everywhere. Contact our team at [email protected] or [email protected] for assistance.
Replaced Output
The quick brown fox jumps over the lazy dog. color is spelled color in British English, but color in American English. There are vibrant colours and colorful designs everywhere. Contact our team at [email protected] or [email protected] for assistance.
How Find & Replace works
Follow three simple steps to find, substitute, and download clean text.
Enter Source Text
Type or paste text, articles, code, logs, or lists directly into the editor, or click “Sample” to test with example content.
Configure Search Rules
Provide your target pattern and replacement text. Choose between literal text and regular expressions, toggle case sensitivity, and limit matches to whole words.
Preview & Export
Review side-by-side highlighted matches before and after the replacement, then copy the result to your clipboard or download it as a text file.
Key features
Control matching behavior with regular expressions, case sensitivity, whole-word matching, and replacement limits.
Plain Text & Regex Support
Execute fast literal string replacements or utilize the full power of JavaScript regular expressions with capture groups and multiline anchors.
Precision Matching Controls
Fine-tune comparisons with case matching, whole-word matching, and choose between global replacements or single-instance updates.
Local Browser Processing
Your input is processed directly in your browser and is not uploaded to Pinatool's servers.
Frequently Asked Questions
Answers to common questions about pattern matching, regex features, and data privacy.
How do I match special characters?
In plain-text mode, characters such as ., *, ?, and $ are matched literally. When "Use Regular Expression" is enabled, prefix any special regex character with a backslash (for example, \. or \$) to match it literally.
Does Find & Replace upload my data to any server?
No. Your input is processed directly in your browser and is not uploaded to Pinatool’s servers.
Can I use regular expressions with capture groups?
Yes. Turn on "Use Regular Expression" to enable JavaScript RegExp patterns. You can reference numbered capture groups like $1, $2, full match $&, or named capture groups like $<group_name> in your replacement field.
What does "Whole Words Only" do?
Whole Words Only ensures that matches are surrounded by non-word boundaries. For example, finding "cat" will match "cat" but will not match the "cat" inside "scatter" or "caterpillar". Whole-word matching limits replacements to word boundaries recognized by the tool. Boundary behavior may vary for some Unicode scripts and punctuation.
How do I replace only the first occurrence instead of all?
Toggle the replacement mode button from "Replace All" to "Replace First". The tool will replace only the first match while still reporting the total count of matches found throughout your text.
Is there a limit on how much text I can process?
Processing runs natively in your browser, so the practical limit depends on your device memory. Processing speed depends on your device, the size of the text, and the complexity of the search pattern. Very large documents or complex regular expressions may take longer to process.
Explore More Tools
More free browser-based utilities for text cleanup, formatting, and analysis.